Merge pull request #5728 from rabuzarus/20180905_-_fix_lockview

lockview - prevent notices
This commit is contained in:
Hypolite Petovan 2018-09-16 23:02:23 -04:00 committed by GitHub
commit c4ea3bfb3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'])