]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/NewPassword.php
Merge pull request #5599 from annando/postupdate
[friendica.git] / src / Core / Console / NewPassword.php
index 4f687ad9b4e6909897755506018932983f03ea3e..2581d81cd06cd3e2da76fdc3afffa8bbe0e05201 100644 (file)
@@ -64,7 +64,7 @@ HELP;
                $nick = $this->getArgument(0);
 
                $user = DBA::selectFirst('user', ['uid'], ['nickname' => $nick]);
-               if (!DBA::is_result($user)) {
+               if (!DBA::isResult($user)) {
                        throw new RuntimeException(L10n::t('User not found'));
                }