forked from extern/egroupware
fix broken recurrence end-dates stalling updates
This commit is contained in:
parent
fe4d00551a
commit
16e048e665
@ -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 = Api\Db::strip_array_keys($event, 'cal_');
|
||||||
$event['recur_enddate'] = $event['range_end'];
|
$event['recur_enddate'] = $event['range_end'];
|
||||||
|
try {
|
||||||
$rrule = calendar_rrule::event2rrule($event, false);
|
$rrule = calendar_rrule::event2rrule($event, false);
|
||||||
|
}
|
||||||
|
catch (\Exception $e) {
|
||||||
|
_egw_log_exception($e);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$rrule->rewind();
|
$rrule->rewind();
|
||||||
$enddate = $rrule->current();
|
$enddate = $rrule->current();
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user