From c3a5bb488a4b62f7d4c273c410e23317e775f9c9 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Thu, 17 Nov 2016 10:22:55 +0200 Subject: [PATCH 1/1] Ticket. The checking if(!data.tariffConf.changePolicyTimeout.emplty) removed and appendResetableTag() added for the changePolicyTimeout in the Serialize() function. --- stglibs/srvconf.lib/parsers/chg_tariff.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/stglibs/srvconf.lib/parsers/chg_tariff.cpp b/stglibs/srvconf.lib/parsers/chg_tariff.cpp index ca4ceb95..16c4b198 100644 --- a/stglibs/srvconf.lib/parsers/chg_tariff.cpp +++ b/stglibs/srvconf.lib/parsers/chg_tariff.cpp @@ -78,9 +78,7 @@ if (!data.tariffConf.changePolicy.empty()) case TARIFF::DENY: stream << ""; break; } -if (!data.tariffConf.changePolicyTimeout.empty()) - stream << ""; - +appendResetableTag(stream, "changePolicyTimeout", data.tariffConf.changePolicyTimeout); for (size_t i = 0; i < DIR_NUM; ++i) if (!data.dirPrice[i].hDay.empty() && !data.dirPrice[i].mDay.empty() && -- 2.44.2