diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index b30ed1e181..4eaca20a5f 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1140,7 +1140,7 @@ class calendar_boupdate extends calendar_bo $calendar_ical->setSupportedFields('full'); // full iCal fields+event TZ // we need to pass $event[id] so iCal class reads event again, // as event is in user TZ, but iCal class expects server TZ! - $ics = $calendar_ical->exportVCal($cleared_event, + $ics = $calendar_ical->exportVCal([$cleared_event], '2.0', $method, $cleared_event['recur_date'], '', 'utf-8', $method == 'REPLY' ? $user : 0 );