From 7cd5562a8ba22d38aeccb18573bd6ebd01f81f58 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 20 Jan 2021 09:23:07 -0700 Subject: [PATCH] Fix error breaking calendar notifications --- calendar/inc/class.calendar_boupdate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );