forked from extern/egroupware
* Calendar - Fix bug where recurring events were moved to server time when adding a recurrence exception
This commit is contained in:
parent
c830e494e6
commit
2b6741e446
@ -895,11 +895,13 @@ class calendar_bo
|
||||
}
|
||||
if (!isset($event['start']) || !isset($event['end']))
|
||||
{
|
||||
$event['start'] = $event_read['start'];
|
||||
$event['end'] = $event_read['end'];
|
||||
$event['start'] = $this->date2usertime($event_read['start']);
|
||||
$event['end'] = $this->date2usertime($event_read['end']);
|
||||
}
|
||||
}
|
||||
if (!$start) $start = $event['start'];
|
||||
$start_obj = new Api\DateTime($start);
|
||||
$read_start = new Api\DateTime($event_read['start']);
|
||||
|
||||
$events = array();
|
||||
$this->insert_all_recurrences($event,$start,$this->date2usertime($this->config['horizont']),$events);
|
||||
|
Loading…
Reference in New Issue
Block a user