From c88126ad68b509bf027f0c88ed2f0d7de2f212ea Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Tue, 9 Sep 2014 10:43:53 +0200 Subject: [PATCH] Check activation state of user calendars not subscription --- plugins/calendar/drivers/kolab/kolab_user_calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/calendar/drivers/kolab/kolab_user_calendar.php b/plugins/calendar/drivers/kolab/kolab_user_calendar.php index 18b1eccf..2cb8962a 100644 --- a/plugins/calendar/drivers/kolab/kolab_user_calendar.php +++ b/plugins/calendar/drivers/kolab/kolab_user_calendar.php @@ -211,7 +211,7 @@ class kolab_user_calendar extends kolab_calendar // aggregate all calendar folders the user shares (but are not subscribed) foreach (kolab_storage::list_user_folders($this->userdata, 'event', false) as $foldername) { - if (!empty($_REQUEST['_quickview']) || !kolab_storage::folder_is_subscribed($foldername, true)) { + if (!empty($_REQUEST['_quickview']) || !kolab_storage::folder_is_active($foldername)) { $cal = new kolab_calendar($foldername, $this->cal); foreach ($cal->list_events($start, $end, $search, 1) as $event) { $this->events[$event['id']] = $event;