Calendar - Update recurrence adjustment check to match range end change from 9810077eab

This commit is contained in:
nathangray 2017-03-31 10:27:34 -06:00
parent 108e25b4b3
commit 2f534beb34

View File

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