]> git.mxchange.org Git - friendica.git/commitdiff
Ensure public forum posts are public
authorMichael <heluecht@pirati.ca>
Tue, 22 Jun 2021 22:33:56 +0000 (22:33 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 22 Jun 2021 22:33:56 +0000 (22:33 +0000)
mod/item.php

index 7d565bc35bd515da94f694af391332ba2b0c52a9..b62841e47dbcc3ccc960afc569a86dc62ebd621b 100644 (file)
@@ -443,6 +443,13 @@ function item_post(App $a) {
                        $postopts = '';
                }
 
+               if (!$private_forum) {
+                       $str_contact_allow = '';
+                       $str_group_allow   = '';
+                       $str_contact_deny  = '';
+                       $str_group_deny    = '';
+               }
+
                if ($private_forum || !APContact::getByURL($forum_contact['url'])) {
                        $str_group_allow = '';
                        $str_contact_deny = '';