From 43f66d7ac26852e7ebccbed76f991031a1e9b9b2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 26 Apr 2019 15:13:12 +0200 Subject: [PATCH] * Calendar: fix alarms on recurring events got lost after 1st ocurrence --- calendar/inc/class.calendar_boupdate.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 7dbbef7f61..6621a324a3 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1183,6 +1183,7 @@ class calendar_boupdate extends calendar_bo $alarm['time'] = $this->date2ts($event['start']) - $alarm['offset']; unset($alarm['times']); unset($alarm['next']); + unset($alarm['keep_time']); // need to remove the keep_time, as otherwise the alarm would be deleted automatically //error_log(__METHOD__."() moving alarm to next recurrence ".array2string($alarm)); $this->save_alarm($alarm['cal_id'], $alarm, false); // false = do NOT update timestamp, as nothing changed for iCal clients }