Copy the master's sequence to a new exception
This commit is contained in:
parent
ac2bd4700f
commit
95ed84c932
1 changed files with 3 additions and 0 deletions
|
@ -977,6 +977,9 @@ class kolab_driver extends calendar_driver
|
|||
if ($reschedule) {
|
||||
$event['sequence'] = max($old['sequence'], $master['sequence']) + 1;
|
||||
}
|
||||
else if (!isset($event['sequence'])) {
|
||||
$event['sequence'] = $master['sequence'];
|
||||
}
|
||||
|
||||
// save properties to a recurrence exception instance
|
||||
if ($old['_instance'] && is_array($master['recurrence']['EXCEPTIONS'])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue