From c918ab62607da6548c32b19b2f53fc41847b773d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 8 Aug 2011 10:14:24 +0000 Subject: [PATCH] * CalDAV/CardDAV fixed empty REPORT causing clients display no events/contacts anymore (PROPFIND was not affected) --- phpgwapi/inc/class.groupdav_handler.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpgwapi/inc/class.groupdav_handler.inc.php b/phpgwapi/inc/class.groupdav_handler.inc.php index 48fc4dfd29..1851b9d1c8 100644 --- a/phpgwapi/inc/class.groupdav_handler.inc.php +++ b/phpgwapi/inc/class.groupdav_handler.inc.php @@ -536,6 +536,7 @@ class groupdav_propfind_iterator implements Iterator $this->start = 0; $this->files = $this->common_files; + if (!$this->files) $this->next(); // otherwise valid will return false and nothing get returned reset($this->files); }