diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2012-06-07 12:44:59 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2012-06-07 13:39:42 +0200 |
commit | 470cb17f90840e9bb997d30c0e4575384fc5df72 (patch) | |
tree | 1fc81205a598926d5ecdadf18f517a4a158cc062 /apps | |
parent | 312536dbf951a72ff849cdd57138eded6c4668e6 (diff) | |
download | nextcloud-server-470cb17f90840e9bb997d30c0e4575384fc5df72.tar.gz nextcloud-server-470cb17f90840e9bb997d30c0e4575384fc5df72.zip |
ldap: check index carefully, can be 0
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib_ldap.php b/apps/user_ldap/lib_ldap.php index f6942ad326e..6f4c0b0aad9 100644 --- a/apps/user_ldap/lib_ldap.php +++ b/apps/user_ldap/lib_ldap.php @@ -258,7 +258,7 @@ class OC_LDAP { $key = self::recursiveArraySearch($knownObjects, $ldapObject['dn']); //everything is fine when we know the group - if($key) { + if($key !== false) { $ownCloudNames[] = $knownObjects[$key]['owncloud_name']; continue; } |