]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/User.php
Fix whitescreen on recoverpassword with unknown user
[quix0rs-gnu-social.git] / classes / User.php
index 65bc0485bf1b4070862ac6929df2c1a0b8c7b35d..726a7e5c30d7954b52449e69fbebe6148d98f18c 100644 (file)
@@ -1086,7 +1086,7 @@ class User extends Managed_DataObject
 
         if (!$user) {
             // TRANS: Information on password recovery form if no known username or e-mail address was specified.
-            throw new ClientError(_('No user with that email address or username.'));
+            throw new ClientException(_('No user with that email address or username.'));
             return;
         }