Fix saving recurring event as new (#4299)
This commit is contained in:
parent
7b930bfac7
commit
362fcf7a4f
1 changed files with 2 additions and 1 deletions
|
@ -889,7 +889,8 @@ class kolab_driver extends calendar_driver
|
|||
// save submitted data as new (non-recurring) event
|
||||
$event['recurrence'] = array();
|
||||
$event['uid'] = $this->cal->generate_uid();
|
||||
|
||||
unset($event['recurrence_id'], $event['id']);
|
||||
|
||||
// copy attachment data to new event
|
||||
foreach ((array)$event['attachments'] as $idx => $attachment) {
|
||||
if (!$attachment['data'])
|
||||
|
|
Loading…
Add table
Reference in a new issue