mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
* LDAP/Addressbook: fix region contains for given country invalid value gives an LDAP error on update
cause by trying to write NULL, which is not allowed, unsetting the attribute the proper way now
This commit is contained in:
parent
968774d829
commit
867726f5c9
@ -596,7 +596,7 @@ class Ldap
|
||||
$ldapContact[$ldapFieldName] = $ldapFieldName == 'jpegphoto' ? $data[$egwFieldName] :
|
||||
Api\Translation::convert($data[$egwFieldName], $this->charset,'utf-8');
|
||||
}
|
||||
elseif($isUpdate && isset($data[$egwFieldName]))
|
||||
elseif($isUpdate && array_key_exists($egwFieldName, $data))
|
||||
{
|
||||
$ldapContact[$ldapFieldName] = array();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user