|
|
@ -835,7 +835,7 @@ class rcube_ldap extends rcube_addressbook
|
|
|
|
// map address book fields into ldap attributes
|
|
|
|
// map address book fields into ldap attributes
|
|
|
|
$me = $this;
|
|
|
|
$me = $this;
|
|
|
|
$attributes = array();
|
|
|
|
$attributes = array();
|
|
|
|
array_walk($fields, function($field) use ($me, &$attributes) {
|
|
|
|
array_walk((array) $fields, function($field) use ($me, &$attributes) {
|
|
|
|
if ($me->coltypes[$field] && ($attrs = (array)$me->coltypes[$field]['attributes'])) {
|
|
|
|
if ($me->coltypes[$field] && ($attrs = (array)$me->coltypes[$field]['attributes'])) {
|
|
|
|
$attributes = array_merge($attributes, $attrs);
|
|
|
|
$attributes = array_merge($attributes, $attrs);
|
|
|
|
}
|
|
|
|
}
|
|
|
|