]> git.mxchange.org Git - friendica.git/commitdiff
lockview - prevent notices
authorrabuzarus <trebor@central-unit>
Wed, 5 Sep 2018 16:44:47 +0000 (18:44 +0200)
committerrabuzarus <trebor@central-unit>
Wed, 5 Sep 2018 16:44:47 +0000 (18:44 +0200)
mod/lockview.php

index 0d87e1551034d24739e867f79388d185f762cd10..a2301b4ccb7e73e20b47862cc62fe74929477152 100644 (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'])