diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php index 59057e7d5..64e63074c 100644 --- a/include/event.php +++ b/include/event.php @@ -614,7 +614,7 @@ function event_addtocal($item_id, $uid) { $ev['event_hash'] = $item['resource_id']; } - if($ev->private) + if($ev['private']) $ev['allow_cid'] = '<' . $channel['channel_hash'] . '>'; else { $acl = new Zotlabs\Access\AccessList($channel); |