From aed33acba95ff60dcf9df45d342e76d499fda185 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 28 Nov 2016 15:37:29 +0200 Subject: [PATCH 1/1] Ticket. The stgTime argument added in TariffChangeIsAllowed() function call. --- .../stargazer/plugins/configuration/rpcconfig/user_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp b/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp index 0e7ac9d6..ac6e7261 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp @@ -437,7 +437,7 @@ if ((it = structVal.find("tariff")) != structVal.end()) if (newTariff) { const TARIFF * currentTariff = ptr->GetTariff(); - std::string message = currentTariff->TariffChangeIsAllowed(*newTariff); + std::string message = currentTariff->TariffChangeIsAllowed(*newTariff, stgTime); if (message.empty()) { if (ptr->GetProperty().tariffName.Get() != tariff) -- 2.44.2