#1947 puan modülü #675

This commit is contained in:
Diatrex 2020-09-22 14:53:53 +03:00
parent dcb2464079
commit e3c5a11ebd
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class ProfileFormHandler
$user->fill($data);
$changes = $user->getDirty();
$user->save();
if (count($changes) == 0) {
if (!count($changes)) {
return false;
}
return $changes;

View File

@ -38,7 +38,7 @@ class UserFormHandler
$user->fill($data);
$changes = $user->getDirty();
$user->save();
if (count($changes) == 0) {
if (!count($changes)) {
return false;
}
return $changes;