summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorsimonp <[email protected]>2017-12-14 18:43:42 +0100
committersimonp <[email protected]>2017-12-14 18:43:42 +0100
commit5f19596651de08a429656cccf1273e79ccf305ea (patch)
tree51832371b02f254cbadb57dc07df765fb82b7bbf /classes
parentfde50b4e634cf42635a8ab62ae72e8a73d59f1bc (diff)
Fix typo from previous pull request
Diffstat (limited to 'classes')
-rw-r--r--classes/pref/prefs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php
index 7a61b6f19..fca67d0a6 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;
}