]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - classes/Profile.php
Merge branch 'fix-setpassword' into 'nightly'
[quix0rs-gnu-social.git] / classes / Profile.php
index 25a41bee72cb9b5b768be616035af9d78e5bada1..49addfe47fe887d72d84f73c57fde62c25ed1098 100644 (file)
@@ -144,7 +144,7 @@ class Profile extends Managed_DataObject
     public function hasPassword()
     {
         try {
-            return !empty($this->getUser()->hasPassword());
+            return $this->getUser()->hasPassword();
         } catch (NoSuchUserException $e) {
             return false;
         }