summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
366bb46)
in the ProcessNewMonth() function.
- if (tariff->TariffChangeIsAllowed(*nt) == "")
+ std::string message = tariff->TariffChangeIsAllowed(*nt);
+ if (message == "")
{
property.tariffName.Set(nextTariff, sysAdmin, login, store);
}
else
{
{
property.tariffName.Set(nextTariff, sysAdmin, login, store);
}
else
{
- std::string message = tariff->TariffChangeIsAllowed(*nt);
WriteServLog("Tariff change is prohibited for user %s. %s",
login.c_str(),
message.c_str());
WriteServLog("Tariff change is prohibited for user %s. %s",
login.c_str(),
message.c_str());