aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-04-20 20:14:58 +0200
committerMax Kostikov <max@kostikov.co>2019-04-20 20:14:58 +0200
commita6a17a85f32733a29c8d4242e93f1de054d4e6fb (patch)
treeb0cdc1eb3c423aa81ff609f4a3461cdc60fecb09 /include
parent904ae058108412de5e068b02cd45d9b8b4e90e4b (diff)
parent9275fd16c232ac6c55da345125c240013248e972 (diff)
downloadvolse-hubzilla-a6a17a85f32733a29c8d4242e93f1de054d4e6fb.tar.gz
volse-hubzilla-a6a17a85f32733a29c8d4242e93f1de054d4e6fb.tar.bz2
volse-hubzilla-a6a17a85f32733a29c8d4242e93f1de054d4e6fb.zip
Merge branch 'calendar_merge' into 'dev'
calendar merge - initial checkin See merge request hubzilla/core!1599
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'])) {