aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-10-29 10:08:12 +0100
committerMario Vavti <mario@mariovavti.com>2018-10-29 10:08:12 +0100
commite1c3a1942098305ceb5d5c3ad7d7c5ae8961c187 (patch)
tree973bc5cebe8f1a41fc600c2990d23c8554bc778d
parentcc586685e6c6b400bc0000669a7ee1394c45098d (diff)
downloadvolse-hubzilla-e1c3a1942098305ceb5d5c3ad7d7c5ae8961c187.tar.gz
volse-hubzilla-e1c3a1942098305ceb5d5c3ad7d7c5ae8961c187.tar.bz2
volse-hubzilla-e1c3a1942098305ceb5d5c3ad7d7c5ae8961c187.zip
merge include/zot.php from dev
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 4a8892083..1a632cf87 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -4327,7 +4327,7 @@ function zotinfo($arr) {
if($role === 'forum' || $role === 'repository') {
$public_forum = true;
}
- elseif($ztarget_hash) {
+ else {
// check if it has characteristics of a public forum based on custom permissions.
$m = \Zotlabs\Access\Permissions::FilledAutoperms($e['channel_id']);
if($m) {