From 03d22bba09feb7ab3ba9a7b4a08bcdc8bc397419 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Mon, 28 Nov 2016 15:24:46 +0200 Subject: [PATCH] Ticket 37. The stgTime argument added in TariffChangeIsAllowed() function call. --- .../stargazer/plugins/configuration/sgconfig/parser_users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp b/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp index 8f15c491..5707b726 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_users.cpp @@ -598,7 +598,7 @@ int CHG_USER::ApplyChanges() if (newTariff) { const TARIFF * tariff = u->GetTariff(); - std::string message = tariff->TariffChangeIsAllowed(*newTariff); + std::string message = tariff->TariffChangeIsAllowed(*newTariff, stgTime); if (message.empty()) { if (!u->GetProperty().tariffName.Set(m_ucr.tariffName.const_data(), &m_currAdmin, m_login, &m_store)) -- 2.44.2