diff --git a/calendar/inc/class.calendar_groupdav.inc.php b/calendar/inc/class.calendar_groupdav.inc.php index 0573f1bf4d..1f679935d5 100644 --- a/calendar/inc/class.calendar_groupdav.inc.php +++ b/calendar/inc/class.calendar_groupdav.inc.php @@ -98,6 +98,7 @@ class calendar_groupdav extends groupdav_handler { foreach($events as $event) { + //header('X-EGROUPWARE-EVENT-'.$event['id'].': '.$event['title'].': '.date('Y-m-d H:i:s',$event['start']).' - '.date('Y-m-d H:i:s',$event['end'])); $props = array( HTTP_WebDAV_Server::mkprop('getetag',$this->get_etag($event)), HTTP_WebDAV_Server::mkprop('getcontenttype', 'text/calendar'), @@ -187,7 +188,7 @@ class calendar_groupdav extends groupdav_handler break; } } - if (count($cal_filters) != $num_filters) // no filters set --> restore default start and end time + if (count($cal_filters) == $num_filters) // no filters set --> restore default start and end time { $cal_filters['start'] = $cal_start; $cal_filters['end'] = $cal_end;