"bugfix for xmlrpc (KAdressbook): customfield names (keys) were NOT prefix with a hash"

This commit is contained in:
Ralf Becker 2007-05-29 05:58:46 +00:00
parent f2fb5fad4b
commit 86ecd44066

View File

@ -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));