Avoid removing recurrence rules for tasks when saving through the web client (#2713)

This commit is contained in:
Thomas Bruederli 2014-04-03 12:29:08 +02:00
parent bd0e046267
commit b1e797adf1

View file

@ -646,6 +646,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) {