From 8fb30b8ce4152aff730021094b87c5d577040b67 Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 15 May 2018 11:27:28 -0600 Subject: [PATCH] * Calendar - Fix notification for single event in series had original start date --- calendar/inc/class.calendar_boupdate.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index a5bd993d37..1831601700 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -998,7 +998,9 @@ class calendar_boupdate extends calendar_bo // 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(array(isset($cleared_event) ? $cleared_event : $event['id']), - '2.0', $method, 0, '', 'utf-8', $method == 'REPLY' ? $user : 0); + '2.0', $method, isset($cleared_event) ? $cleared_event['recur_date'] : $event['recur_date'], + '', 'utf-8', $method == 'REPLY' ? $user : 0 + ); unset($calendar_ical); } $attachment = array(