diff options
author | zotlabs <mike@macgirvin.com> | 2020-01-24 19:38:52 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2020-01-24 19:38:52 -0800 |
commit | ead56c59e2551f39d00e880a2cdb4b2d02b38705 (patch) | |
tree | ca6206ea8c8ff7ad98e9cd98908638ba4496d2ab /include | |
parent | 19a8dfaa5c55b674df25ae7af5c1ffcf9070e522 (diff) | |
download | volse-hubzilla-ead56c59e2551f39d00e880a2cdb4b2d02b38705.tar.gz volse-hubzilla-ead56c59e2551f39d00e880a2cdb4b2d02b38705.tar.bz2 volse-hubzilla-ead56c59e2551f39d00e880a2cdb4b2d02b38705.zip |
bugfix: event_addtocal not preserving original privacy expectation
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); |