diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 61932fd5ee..09fc48cf2a 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1318,7 +1318,7 @@ class calendar_boupdate extends calendar_bo $event['created'] = $this->now; $event['creator'] = $this->user; } - $set_recurrences = $old_event ? $event['recur_enddate'] != $old_event['recur_enddate'] : false; + $set_recurrences = $old_event ? $event['recur_enddate'] != $old_event['recur_enddate']+1 : false; $set_recurrences_start = 0; if (($cal_id = $this->so->save($event,$set_recurrences,$set_recurrences_start,0,$event['etag'])) && $set_recurrences && $event['recur_type'] != MCAL_RECUR_NONE) {