mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
"bugfix for xmlrpc (KAdressbook): customfield names (keys) were NOT prefix with a hash"
This commit is contained in:
parent
f2fb5fad4b
commit
86ecd44066
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user