Skip to content
Snippets Groups Projects
Commit 691f00eb authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

ldap: check index carefully, can be 0

parent 9266f4da
Branches
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment