From f8d7b33fd53f999b326f2ee1c4d599f776a0eb5d Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 28 Nov 2016 15:38:35 +0200 Subject: [PATCH] Ticket. The stgTime argument added in TariffChangeIsAllowed() function call. --- .../stargazer/plugins/configuration/rpcconfig/users_methods.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp index 5a738d16..56167bc2 100644 --- a/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp +++ b/projects/stargazer/plugins/configuration/rpcconfig/users_methods.cpp @@ -385,7 +385,7 @@ if (tariffs->FindByName(tariff)) if (newTariff) { const TARIFF * currentTariff = u->GetTariff(); - std::string message = currentTariff->TariffChangeIsAllowed(*newTariff); + std::string message = currentTariff->TariffChangeIsAllowed(*newTariff, stgTime); if (message.empty()) { if (u->GetProperty().tariffName.Set(tariff, -- 2.44.2