lockview - prevent notices

This commit is contained in:
rabuzarus 2018-09-05 18:44:47 +02:00
parent bd9d102da2
commit 1fe1628237

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