diff --git a/api/src/Contacts/Ldap.php b/api/src/Contacts/Ldap.php index de8d925e2e..aee3b47c6c 100644 --- a/api/src/Contacts/Ldap.php +++ b/api/src/Contacts/Ldap.php @@ -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(); }