summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/kolab_sync_data_calendar.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/kolab_sync_data_calendar.php b/lib/kolab_sync_data_calendar.php
index a0c828b..f93a91d 100644
--- a/lib/kolab_sync_data_calendar.php
+++ b/lib/kolab_sync_data_calendar.php
@@ -467,7 +467,9 @@ class kolab_sync_data_calendar extends kolab_sync_data implements Syncroton_Data
$event['recurrence'] = $this->recurrence_to_kolab($data->recurrence, $timezone);
// recurrence exceptions
- $event['recurrence']['EXDATE'] = $this->exceptions_to_kolab($data->exceptions, $timezone);
+ if ($exdate = $this->exceptions_to_kolab($data->exceptions, $timezone)) {
+ $event['recurrence']['EXDATE'] = $exdate;
+ }
return $event;
}