mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
fix broken recurrence end-dates stalling updates
This commit is contained in:
parent
035c544529
commit
ad9d21da5e
@ -2352,7 +2352,13 @@ WHERE range_end IS NOT NULL", __LINE__, __FILE__, 0, -1, false, Api\Db::FETCH_AS
|
||||
{
|
||||
$event = Api\Db::strip_array_keys($event, 'cal_');
|
||||
$event['recur_enddate'] = $event['range_end'];
|
||||
$rrule = calendar_rrule::event2rrule($event, false);
|
||||
try {
|
||||
$rrule = calendar_rrule::event2rrule($event, false);
|
||||
}
|
||||
catch (\Exception $e) {
|
||||
_egw_log_exception($e);
|
||||
continue;
|
||||
}
|
||||
$rrule->rewind();
|
||||
$enddate = $rrule->current();
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user