Fix saving recurring event as new (#4299)

This commit is contained in:
Thomas Bruederli 2015-01-27 18:13:08 +01:00
parent 7b930bfac7
commit 362fcf7a4f

View file

@ -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'])