diff --git a/calendar/inc/class.calendar_export_ical.inc.php b/calendar/inc/class.calendar_export_ical.inc.php index 377c58de23..b4b8d38bcf 100644 --- a/calendar/inc/class.calendar_export_ical.inc.php +++ b/calendar/inc/class.calendar_export_ical.inc.php @@ -38,9 +38,8 @@ class calendar_export_ical extends calendar_export_csv { if($options['selection']['select'] == 'criteria') { $query = array( 'start' => $options['selection']['start'], - 'end' => $options['selection']['end'], + 'end' => strtotime('+1 day',$options['selection']['end'])-1, 'categories' => $options['categories'] ? $options['categories'] : $options['selection']['categories'], - 'enum_recuring' => false, 'daywise' => false, 'users' => $options['selection']['owner'], 'cfs' => $cfs // Otherwise we shouldn't get any custom fields