Avoid removing recurrence rules for tasks when saving through the web client (#2713)
This commit is contained in:
parent
bd0e046267
commit
b1e797adf1
1 changed files with 6 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue