]> git.stg.codes - stg.git/blobdiff - projects/stargazer/user_impl.cpp
Ticket. The stgTime argument added in TariffChangeIsAllowed()
[stg.git] / projects / stargazer / user_impl.cpp
index f3410368a179e097477f5e1303a3b6d7dafc416e..0e92975c2c0c064e97d1f8497cd78148aa27b086 100644 (file)
@@ -1184,7 +1184,7 @@ if (nextTariff.ConstData() != "")
         }
     else
         {
-        std::string message = tariff->TariffChangeIsAllowed(*nt);
+        std::string message = tariff->TariffChangeIsAllowed(*nt, stgTime);
         if (message.empty())
             {
             property.tariffName.Set(nextTariff, sysAdmin, login, store);