* CardDAV/Addressbook: fixed all contacts were reported as NOT found and therefore not synchronised

This commit is contained in:
Ralf Becker 2013-10-08 07:41:32 +00:00
parent a234addda6
commit a228113f02

View File

@ -225,7 +225,7 @@ class addressbook_groupdav extends groupdav_handler
foreach($contacts as &$contact) foreach($contacts as &$contact)
{ {
// remove contact from requested multiget ids, to be able to report not found urls // remove contact from requested multiget ids, to be able to report not found urls
if ($requested_multiget_ids && ($k = array_search($contacts[self::$path_attr], $requested_multiget_ids)) !== false) if ($requested_multiget_ids && ($k = array_search($contact[self::$path_attr], $requested_multiget_ids)) !== false)
{ {
unset($requested_multiget_ids[$k]); unset($requested_multiget_ids[$k]);
} }