forked from extern/egroupware
Calendar - fix bug in recurring event exception edit across timezones causing events to move or get lost
This commit is contained in:
parent
7abf1bf5c8
commit
9bf934d1f5
@ -1181,7 +1181,7 @@ class calendar_boupdate extends calendar_bo
|
||||
if (!isset($event['whole_day'])) $event['whole_day'] = $this->isWholeDay($event);
|
||||
|
||||
// set recur-enddate/range-end to real end-date of last recurrence
|
||||
if ($event['recur_type'] != MCAL_RECUR_NONE && $event['recur_enddate'])
|
||||
if ($event['recur_type'] != MCAL_RECUR_NONE && $event['recur_enddate'] && $event['start'])
|
||||
{
|
||||
$event['recur_enddate'] = new Api\DateTime($event['recur_enddate'], calendar_timezones::DateTimeZone($event['tzid']));
|
||||
$event['recur_enddate']->setTime(23,59,59);
|
||||
|
Loading…
Reference in New Issue
Block a user