ソースを参照

Fix typo from previous pull request

simonp 6 年 前
コミット
5f19596651
1 ファイル変更1 行追加1 行削除
  1. 1 1
      classes/pref/prefs.php

+ 1 - 1
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;
 		}