Merge pull request #5728 from rabuzarus/20180905_-_fix_lockview
lockview - prevent notices
This commit is contained in:
commit
c4ea3bfb3e
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ function lockview_content(App $a)
|
||||||
killme();
|
killme();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($item['private'] == 1
|
if (isset($item['private'])
|
||||||
|
&& $item['private'] == 1
|
||||||
&& empty($item['allow_cid'])
|
&& empty($item['allow_cid'])
|
||||||
&& empty($item['allow_gid'])
|
&& empty($item['allow_gid'])
|
||||||
&& empty($item['deny_cid'])
|
&& empty($item['deny_cid'])
|
||||||
|
|
Loading…
Reference in a new issue