From: Elena Mamontova Date: Tue, 1 Nov 2016 13:54:43 +0000 (+0200) Subject: Ticket. if(!data.tariffConf.changePolicyTimeout.empty()) construction X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/518e6f1b9b6edfff2c1b0cd25f061f93a4d1fcb9?ds=sidebyside Ticket. if(!data.tariffConf.changePolicyTimeout.empty()) construction added in the Serialize() function. --- 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() &&