diff --git a/addressbook/inc/class.addressbook_groupdav.inc.php b/addressbook/inc/class.addressbook_groupdav.inc.php index de28375334..b1363b6f88 100644 --- a/addressbook/inc/class.addressbook_groupdav.inc.php +++ b/addressbook/inc/class.addressbook_groupdav.inc.php @@ -208,6 +208,10 @@ class addressbook_groupdav extends groupdav_handler // detect sync-collection report $sync_collection_report = isset($filter[0]) && strpos($filter[0], 'contact_modified>') === 0; + if (isset($filter_in[self::$path_attr]) && !is_array($filter_in[self::$path_attr])) + { + $filter_in[self::$path_attr] = (array)$filter_in[self::$path_attr]; + } $requested_multiget_ids =& $filter_in[self::$path_attr]; $files = array(); diff --git a/calendar/inc/class.calendar_groupdav.inc.php b/calendar/inc/class.calendar_groupdav.inc.php index ec04e00686..f119d49d7b 100644 --- a/calendar/inc/class.calendar_groupdav.inc.php +++ b/calendar/inc/class.calendar_groupdav.inc.php @@ -263,7 +263,7 @@ class calendar_groupdav extends groupdav_handler $filter['offset'] = $start[0]; $filter['num_rows'] = $start[1]; } - $requested_multiget_ids = $filter['query'][self::$path_attr]; + $requested_multiget_ids = (array)$filter['query'][self::$path_attr]; $sync_collection = strpos($filter['query'][0],'cal_modified>') === 0 && $filter['filter'] == 'everything'; $events =& $this->bo->search($filter); diff --git a/infolog/inc/class.infolog_groupdav.inc.php b/infolog/inc/class.infolog_groupdav.inc.php index 5b344f3f25..3de86c27a8 100644 --- a/infolog/inc/class.infolog_groupdav.inc.php +++ b/infolog/inc/class.infolog_groupdav.inc.php @@ -254,7 +254,7 @@ class infolog_groupdav extends groupdav_handler $offset = 0; } - $requested_multiget_ids = $filter[self::$path_attr]; + $requested_multiget_ids = (array)$filter[self::$path_attr]; $files = array(); // ToDo: add parameter to only return id & etag