https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd9d102
)
lockview - prevent notices
author
rabuzarus
<trebor@central-unit>
Wed, 5 Sep 2018 16:44:47 +0000
(18:44 +0200)
committer
rabuzarus
<trebor@central-unit>
Wed, 5 Sep 2018 16:44:47 +0000
(18:44 +0200)
mod/lockview.php
patch
|
blob
|
history
diff --git
a/mod/lockview.php
b/mod/lockview.php
index
0d87e15
..
a2301b4
100644
(file)
--- 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'])