diff options
Diffstat (limited to 'password.php')
-rw-r--r-- | password.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/password.php b/password.php index 430a355..b173978 100644 --- a/password.php +++ b/password.php @@ -44,7 +44,7 @@ if (POST_SUBMITTED != '') { // NO MATCH $userinfo = $userservice->getObjectUserByUsername(POST_USERNAME); - if ($userinfo == '') { + if ($userinfo == NULL) { $tplVars['error'] = T_('No matches found for that username.'); } elseif (POST_EMAIL != $userinfo->getEmail()) { |