X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/7dc3852ce6e3c2344e2de0815c1c79fc6b849bcf..ee882f766d3173ed8ffb6e52b06749c10832f1bf:/projects/stargazer/plugins/configuration/rpcconfig/user_helper.cpp

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)