forked from extern/egroupware
patch #2953: limit calculation of exceptions in recuring event to horizont
This commit is contained in:
parent
9e141e72e0
commit
4e13824fc5
@ -705,7 +705,8 @@ class calendar_bo
|
||||
$events = array();
|
||||
$this->insert_all_recurrences($event,$start,$this->date2usertime($this->config['horizont']),$events);
|
||||
|
||||
$days = $this->so->get_recurrence_exceptions($event); // content of array is in server-time!
|
||||
$limit = min($this->config['horizont'], $event['end']);
|
||||
$days = $this->so->get_recurrence_exceptions($event, null, $start, $limit); // content of array is in server-time!
|
||||
//error_log('set_recurrences: days=' . array2string($days) );
|
||||
foreach($events as $event)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user