Revert "mod display: if we have a local channel we should still be allowed to see sys channel items"

This reverts commit 27f8320353.
This commit is contained in:
Mario Vavti 2017-10-06 21:05:37 +02:00
parent 27f8320353
commit 5468ebbb43

View File

@ -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) {