"patch from Lorentz <lorentz(at)friendship-systems.com>"

This commit is contained in:
Ralf Becker 2010-03-21 09:54:42 +00:00
parent 71960a6d02
commit 678baad83f

View File

@ -363,7 +363,7 @@ class boaddressbook
'contact_owner' => 0,
));
}
return $this->data2xmlrpc(array_merge($this->contacts->old_read(
$searchResults = $this->contacts->old_read(
(int) $param['start'],
(int) $param['limit'],
$param['fields'],
@ -373,7 +373,10 @@ class boaddressbook
$param['order'],
$param['lastmod'] ? $param['lastmod'] : -1,
$param['cquery']
),$extra_accounts),$read_customfields);
);
if (!is_array($searchResults)) $searchResults = array();
return $this->data2xmlrpc(array_merge($searchResults,$extra_accounts),$read_customfields);
}
/**