diff --git a/addressbook/inc/class.boaddressbook.inc.php b/addressbook/inc/class.boaddressbook.inc.php index ee990cd3c0..6132904e87 100644 --- a/addressbook/inc/class.boaddressbook.inc.php +++ b/addressbook/inc/class.boaddressbook.inc.php @@ -201,7 +201,10 @@ class boaddressbook if ($customfields && isset($customfields[$data['id']])) { - $data += $customfields[$data['id']]; + foreach($customfields[$data['id']] as $name => $value) + { + $data['#'.$name] = $value; + } } // remove empty or null elements, they dont need to be transfered $data = array_diff($data,array('',null));