Fix error breaking calendar notifications

This commit is contained in:
nathangray 2021-01-20 09:23:07 -07:00 committed by Hadi Nategh
parent 590ea9ee29
commit 7cd5562a8b

View File

@ -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
);