Merge pull request #5728 from rabuzarus/20180905_-_fix_lockview
lockview - prevent notices
This commit is contained in:
commit
c4ea3bfb3e
|
@ -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 a new issue