Avoid endless loops in recurrence computation
This commit is contained in:
parent
3cff455632
commit
826f3f8ea3
1 changed files with 4 additions and 0 deletions
|
@ -409,6 +409,10 @@ class kolab_calendar
|
|||
}
|
||||
else if ($next_event['start'] > $end) // stop loop if out of range
|
||||
break;
|
||||
|
||||
// avoid endless recursion loops
|
||||
if ($i > 1000)
|
||||
break;
|
||||
}
|
||||
|
||||
return $events;
|
||||
|
|
Loading…
Add table
Reference in a new issue