mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
"checking for different cases in the object class, as suggested by Nigel Kukard <nkukard(at)lbsd.net> at the devel list"
This commit is contained in:
parent
3f6d4f41c2
commit
0d60e6f245
@ -473,7 +473,8 @@ class addressbook_ldap
|
||||
|
||||
if(is_array($ldapContact['objectClass']) && count($ldapContact['objectClass']) > 0)
|
||||
{
|
||||
$newContact['objectclass'] = array_merge($newContact['objectclass'], $ldapContact['objectClass']);
|
||||
$newContact['objectclass'] = array_unique(array_map('strtolower', // objectclasses my have different case
|
||||
array_merge($newContact['objectclass'], $ldapContact['objectClass'])));
|
||||
}
|
||||
|
||||
if(!ldap_delete($this->ds, $dn))
|
||||
|
Loading…
Reference in New Issue
Block a user