From e03549851792d29e35bdc08da17afba9e9861070 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 3 Jun 2008 17:22:59 +0000 Subject: [PATCH] "fixed warning if only an allprop is present" --- calendar/inc/class.calendar_groupdav.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_groupdav.inc.php b/calendar/inc/class.calendar_groupdav.inc.php index b721419fbf..0573f1bf4d 100644 --- a/calendar/inc/class.calendar_groupdav.inc.php +++ b/calendar/inc/class.calendar_groupdav.inc.php @@ -83,7 +83,7 @@ class calendar_groupdav extends groupdav_handler return false; } // check if we have to return the full calendar data or just the etag's - if (!($calendar_data = $options['props'] == 'all' && $options['root']['ns'] == groupdav::CALDAV)) + if (!($calendar_data = $options['props'] == 'all' && $options['root']['ns'] == groupdav::CALDAV) && is_array($options['props'])) { foreach($options['props'] as $prop) {