summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-02-19 14:13:41 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-02-19 14:13:41 (GMT)
commit95ed84c9326f55e85f9e8513cd8284e05ec42e17 (patch)
tree5c84c50311f450fbed207ee4346d318290c9aca8 /plugins
parentac2bd4700f55cdd48337f55240bc37066d309320 (diff)
downloadroundcubemail-plugins-kolab-95ed84c9326f55e85f9e8513cd8284e05ec42e17.tar.gz
Copy the master's sequence to a new exception
Diffstat (limited to 'plugins')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_driver.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_driver.php b/plugins/calendar/drivers/kolab/kolab_driver.php
index 7b4c639..5e6f3b3 100644
--- a/plugins/calendar/drivers/kolab/kolab_driver.php
+++ b/plugins/calendar/drivers/kolab/kolab_driver.php
@@ -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'])) {