From f37a10e385478953dcc19c2ca3b75bf5465a79c1 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Sun, 17 Jul 2016 20:02:10 +0300 Subject: [PATCH 1/1] Ticket. td->tariffConf.traffType value getting changed in the RestoreTariff() function. --- .../plugins/store/firebird/firebird_store_tariffs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/store/firebird/firebird_store_tariffs.cpp b/projects/stargazer/plugins/store/firebird/firebird_store_tariffs.cpp index f757d055..2a9abf6e 100644 --- a/projects/stargazer/plugins/store/firebird/firebird_store_tariffs.cpp +++ b/projects/stargazer/plugins/store/firebird/firebird_store_tariffs.cpp @@ -275,7 +275,8 @@ try st->Get(3, td->tariffConf.fee); st->Get(4, td->tariffConf.free); st->Get(5, td->tariffConf.passiveCost); - st->Get(6, td->tariffConf.traffType); +// st->Get(6, td->tariffConf.traffType); + td->tariffConf.traffType = TARIFF::IntToTraffType(Get(st, 6)); if (schemaVersion > 0) { std::string period; -- 2.44.2