From 518e6f1b9b6edfff2c1b0cd25f061f93a4d1fcb9 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 1 Nov 2016 15:54:43 +0200 Subject: [PATCH] Ticket. if(!data.tariffConf.changePolicyTimeout.empty()) construction added in the Serialize() function. --- stglibs/srvconf.lib/parsers/chg_tariff.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stglibs/srvconf.lib/parsers/chg_tariff.cpp b/stglibs/srvconf.lib/parsers/chg_tariff.cpp index bdc7f42b..ca4ceb95 100644 --- a/stglibs/srvconf.lib/parsers/chg_tariff.cpp +++ b/stglibs/srvconf.lib/parsers/chg_tariff.cpp @@ -78,6 +78,9 @@ if (!data.tariffConf.changePolicy.empty()) case TARIFF::DENY: stream << ""; break; } +if (!data.tariffConf.changePolicyTimeout.empty()) + stream << ""; + for (size_t i = 0; i < DIR_NUM; ++i) if (!data.dirPrice[i].hDay.empty() && !data.dirPrice[i].mDay.empty() && -- 2.44.2