1
1
Fork 0

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