From: simonp Date: Thu, 14 Dec 2017 17:43:42 +0000 (+0100) Subject: Fix typo from previous pull request X-Git-Tag: 18.8~100^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5f19596651de08a429656cccf1273e79ccf305ea;p=tt-rss.git Fix typo from previous pull request --- diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index 7a61b6f1..fca67d0a 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -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; }