]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #5728 from rabuzarus/20180905_-_fix_lockview
authorHypolite Petovan <mrpetovan@eml.cc>
Mon, 17 Sep 2018 03:02:23 +0000 (23:02 -0400)
committerGitHub <noreply@github.com>
Mon, 17 Sep 2018 03:02:23 +0000 (23:02 -0400)
lockview - prevent notices

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