mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-21 12:51:21 +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
46a584400c
commit
8c88cad7a4
@ -466,7 +466,8 @@ class so_ldap
|
|||||||
|
|
||||||
if(is_array($ldapContact['objectClass']) && count($ldapContact['objectClass']) > 0)
|
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))
|
if(!ldap_delete($this->ds, $dn))
|
||||||
|
Loading…
Reference in New Issue
Block a user