aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-01-26 13:54:00 +0100
committerMario <mario@mariovavti.com>2020-01-26 13:54:00 +0100
commit7d8c6cb9edb1eddb5b1a1868bf02f875330d5771 (patch)
treed83f346792b1ec910c354f7454805fd02ee46fd2 /include/event.php
parent7abcdd34af8796571a0145d16a71a9009b995032 (diff)
parentead56c59e2551f39d00e880a2cdb4b2d02b38705 (diff)
downloadvolse-hubzilla-7d8c6cb9edb1eddb5b1a1868bf02f875330d5771.tar.gz
volse-hubzilla-7d8c6cb9edb1eddb5b1a1868bf02f875330d5771.tar.bz2
volse-hubzilla-7d8c6cb9edb1eddb5b1a1868bf02f875330d5771.zip
Merge branch 'dev' into 'dev'
bugfix: event_addtocal not preserving original privacy expectation See merge request hubzilla/core!1820
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php2
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);