aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/event.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/event.php b/include/event.php
index 77118c329..cfca00a3c 100644
--- a/include/event.php
+++ b/include/event.php
@@ -1284,6 +1284,10 @@ function cdav_principal($uri) {
}
function cdav_perms($needle, $haystack, $check_rw = false) {
+
+ if($needle == 'channel_calendar')
+ return true;
+
foreach ($haystack as $item) {
if($check_rw) {
if(is_array($item['id'])) {