summaryrefslogtreecommitdiff
path: root/lib/plugins/authad/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/authad/auth.php')
-rw-r--r--lib/plugins/authad/auth.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/authad/auth.php b/lib/plugins/authad/auth.php
index 7e2d902bd..a0fec7b52 100644
--- a/lib/plugins/authad/auth.php
+++ b/lib/plugins/authad/auth.php
@@ -336,7 +336,7 @@ class auth_plugin_authad extends DokuWiki_Auth_Plugin {
$adldap = $this->_adldap(null);
if(!$adldap) return false;
- if($this->users === null) {
+ if(!$this->users) {
//get info for given user
$result = $adldap->user()->all();
if (!$result) return array();