]> git.wh0rd.org Git - tt-rss.git/commitdiff
Fix typo from previous pull request
authorsimonp <git@simonpl.de>
Thu, 14 Dec 2017 17:43:42 +0000 (18:43 +0100)
committersimonp <git@simonpl.de>
Thu, 14 Dec 2017 17:43:42 +0000 (18:43 +0100)
classes/pref/prefs.php

index 7a61b6f19c15a2ea1b214b5edc2d8936d2068a33..fca67d0a6c3056e0a75eeaf9dd6bf485bd6e1d4c 100644 (file)
@@ -922,7 +922,7 @@ class Pref_Prefs extends Handler_Protected {
        static function isdefaultpassword() {
                $authenticator = PluginHost::getInstance()->get_plugin($_SESSION["auth_module"]);
 
-               if ($authenticator && function_exists($authenticator->check_password) $authenticator->check_password($_SESSION["uid"], "password")) {
+               if ($authenticator && function_exists($authenticator->check_password) && $authenticator->check_password($_SESSION["uid"], "password")) {
                        return true;
                }