diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-10-06 21:05:37 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-10-06 21:05:37 +0200 |
commit | 5468ebbb436a2abe70eea28185209bbd9838f390 (patch) | |
tree | 2e4d4bc8317fe249da68826c32a9ec3ed4d226a5 /Zotlabs | |
parent | 27f83203531606f6dca99bc89f7cd31e5e296528 (diff) | |
download | volse-hubzilla-5468ebbb436a2abe70eea28185209bbd9838f390.tar.gz volse-hubzilla-5468ebbb436a2abe70eea28185209bbd9838f390.tar.bz2 volse-hubzilla-5468ebbb436a2abe70eea28185209bbd9838f390.zip |
Revert "mod display: if we have a local channel we should still be allowed to see sys channel items"
This reverts commit 27f83203531606f6dca99bc89f7cd31e5e296528.
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Display.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php index d405a14b5..0ea55102e 100644 --- a/Zotlabs/Module/Display.php +++ b/Zotlabs/Module/Display.php @@ -203,12 +203,11 @@ class Display extends \Zotlabs\Web\Controller { if(local_channel()) { $r = q("SELECT item.id as item_id from item - WHERE (uid = %d or uid = %d) + WHERE uid = %d and mid = '%s' $item_normal limit 1", intval(local_channel()), - intval($sysid), dbesc($target_item['parent_mid']) ); if($r) { |