X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/518e6f1b9b6edfff2c1b0cd25f061f93a4d1fcb9..dbd170cc6a6787325b3bd00391f2727041ea4ad9:/stglibs/srvconf.lib/parsers/chg_tariff.cpp?ds=sidebyside 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() &&