diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-02-15 13:52:37 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-02-15 13:52:37 +0100 |
commit | 0ba750c06b51626ccace39f0f6be7062eebb0a40 (patch) | |
tree | 82a0d303d6ecb44a1ad19efc460077382ea50ed2 /lib/plugins/authad/auth.php | |
parent | 08d1a8dfa08712aa778c56805608cd2282ea86d2 (diff) | |
download | rpg-0ba750c06b51626ccace39f0f6be7062eebb0a40.tar.gz rpg-0ba750c06b51626ccace39f0f6be7062eebb0a40.tar.bz2 |
fixed retrieveUser function in authad
previously it never returned any users
Diffstat (limited to 'lib/plugins/authad/auth.php')
-rw-r--r-- | lib/plugins/authad/auth.php | 2 |
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(); |