diff --git a/utils/changepass.php b/utils/changepass.php index 376eb78..76acfc2 100644 --- a/utils/changepass.php +++ b/utils/changepass.php @@ -35,7 +35,7 @@ if ($auth->isAdmin() && !empty($login)) { // different user, only admin $passUser = new uUser($login); - if (!$passUser->valid) { + if (!$passUser->isValid) { uUtils::exitWithError("User unknown"); } } else {