lockview - prevent notices
This commit is contained in:
parent
bd9d102da2
commit
1fe1628237
|
@ -47,7 +47,8 @@ function lockview_content(App $a)
|
|||
killme();
|
||||
}
|
||||
|
||||
if ($item['private'] == 1
|
||||
if (isset($item['private'])
|
||||
&& $item['private'] == 1
|
||||
&& empty($item['allow_cid'])
|
||||
&& empty($item['allow_gid'])
|
||||
&& empty($item['deny_cid'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user