diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-19 17:39:19 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-19 17:39:19 -0800 |
commit | 4cd0b745cbc24a035a5e9ba488917ec7beeda888 (patch) | |
tree | faad8cf0e7ef2a720ce002e6b280ae31a77971d0 /Zotlabs/Module/Pubstream.php | |
parent | cf4588f16fbe6dc55eabdb590480bc88d560dad3 (diff) | |
parent | 88d0bf94d89ac739469528bdab7905d0c00cf8a9 (diff) | |
download | volse-hubzilla-4cd0b745cbc24a035a5e9ba488917ec7beeda888.tar.gz volse-hubzilla-4cd0b745cbc24a035a5e9ba488917ec7beeda888.tar.bz2 volse-hubzilla-4cd0b745cbc24a035a5e9ba488917ec7beeda888.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Module/Pubstream.php')
-rw-r--r-- | Zotlabs/Module/Pubstream.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Module/Pubstream.php b/Zotlabs/Module/Pubstream.php index 4224fa3c8..0e6c2360f 100644 --- a/Zotlabs/Module/Pubstream.php +++ b/Zotlabs/Module/Pubstream.php @@ -240,7 +240,10 @@ class Pubstream extends \Zotlabs\Web\Controller { dbesc($parents_str) ); - xchan_query($items,true,(-1)); + // use effective_uid param of xchan_query to help sort out comment permission + // for sys_channel owned items. + + xchan_query($items,true,(($sys) ? local_channel() : 0)); $items = fetch_post_tags($items,true); $items = conv_sort($items,$ordering); } |