summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-04-03 10:29:08 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-04-03 12:32:48 (GMT)
commit6e333197de06a224c0e77a8a70b1689c126b17f4 (patch)
treeb5f5b3b857cd54ac4be474cac64e1fbdfc92ef33
parent285a65f0772b9f7f69102a9ff42d621b9911b115 (diff)
downloadroundcubemail-plugins-kolab-roundcubemail-plugins-kolab-3.1.13.tar.gz
Avoid removing recurrence rules for tasks when saving through the web client (#2713)roundcubemail-plugins-kolab-3.1.13
-rw-r--r--plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
index 2101ed4..0cf31fb 100644
--- a/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
+++ b/plugins/tasklist/drivers/kolab/tasklist_kolab_driver.php
@@ -645,6 +645,12 @@ class tasklist_kolab_driver extends tasklist_driver
$object[$key] = $val;
}
+ // copy recurrence rules as long as the web client doesn't support it.
+ // that way it doesn't get removed when saving through the web client (#2713)
+ if ($old['recurrence']) {
+ $object['recurrence'] = $old['recurrence'];
+ }
+
// delete existing attachment(s)
if (!empty($task['deleted_attachments'])) {
foreach ($task['deleted_attachments'] as $attachment) {