summaryrefslogtreecommitdiff
path: root/plugins/calendar/drivers/kolab/kolab_calendar.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/calendar/drivers/kolab/kolab_calendar.php')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_calendar.php b/plugins/calendar/drivers/kolab/kolab_calendar.php
index 29bc01e..4316542 100644
--- a/plugins/calendar/drivers/kolab/kolab_calendar.php
+++ b/plugins/calendar/drivers/kolab/kolab_calendar.php
@@ -291,7 +291,7 @@ class kolab_calendar extends kolab_storage_folder_api
}
// find and merge exception for the first instance
- if (!empty($event['recurrence']) && is_array($event['recurrence']['EXCEPTIONS'])) {
+ if ($virtual && !empty($event['recurrence']) && is_array($event['recurrence']['EXCEPTIONS'])) {
$event_date = $event['start']->format('Ymd');
foreach ($event['recurrence']['EXCEPTIONS'] as $exception) {
$exdate = $exception['recurrence_date'] ? $exception['recurrence_date']->format('Ymd') : substr($exception['_instance'], 0, 8);