X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6be0c419e91a659c10478055156b70f40750bbfd..d116ec3c7dda1d4ce516330a3aed74ea0b3dfdb8:/projects/stargazer/user_impl.cpp?ds=inline diff --git a/projects/stargazer/user_impl.cpp b/projects/stargazer/user_impl.cpp index 8c38d909..f8335525 100644 --- a/projects/stargazer/user_impl.cpp +++ b/projects/stargazer/user_impl.cpp @@ -1185,7 +1185,7 @@ if (nextTariff.ConstData() != "") else { std::string message = tariff->TariffChangeIsAllowed(*nt); - if (message == "") + if (message.empty()) { property.tariffName.Set(nextTariff, sysAdmin, login, store); }