diff options
author | Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it> | 2012-11-05 17:35:09 +0100 |
---|---|---|
committer | Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it> | 2012-11-05 17:35:09 +0100 |
commit | ca24f4767b996bcded139dd9189592e57eade2a6 (patch) | |
tree | b5f3e41dbabedd6b6fbf547a58763e355d41ecc6 /apps/user_ldap/user_ldap.php | |
parent | 510191db6885153a98350d1a3530834491e0b552 (diff) | |
download | nextcloud-server-ca24f4767b996bcded139dd9189592e57eade2a6.tar.gz nextcloud-server-ca24f4767b996bcded139dd9189592e57eade2a6.zip |
Return an empty array on succesful existence check
Diffstat (limited to 'apps/user_ldap/user_ldap.php')
-rw-r--r-- | apps/user_ldap/user_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/user_ldap.php b/apps/user_ldap/user_ldap.php index 4c0893a5103..6591d1d5fee 100644 --- a/apps/user_ldap/user_ldap.php +++ b/apps/user_ldap/user_ldap.php @@ -150,7 +150,7 @@ class USER_LDAP extends lib\Access implements \OCP\UserInterface { } //check if user really still exists by reading its entry - if(!$this->readAttribute($dn, '') ) { + if(!is_array($this->readAttribute($dn, ''))) { $this->connection->writeToCache('userExists'.$uid, false); return false; } |