From: rabuzarus Date: Wed, 5 Sep 2018 16:44:47 +0000 (+0200) Subject: lockview - prevent notices X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1fe16282370ebec7218537e763e35f608bb68a17;p=friendica.git lockview - prevent notices --- diff --git a/mod/lockview.php b/mod/lockview.php index 0d87e15510..a2301b4ccb 100644 --- a/mod/lockview.php +++ b/mod/lockview.php @@ -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'])