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:
parent
27f8320353
commit
5468ebbb43
@ -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) {
|
||||
|
Reference in New Issue
Block a user