From: Michael Date: Tue, 22 Jun 2021 22:33:56 +0000 (+0000) Subject: Ensure public forum posts are public X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=11063dc6fd0ed40eff010cb01f4d9f53d8d20f16;p=friendica.git Ensure public forum posts are public --- diff --git a/mod/item.php b/mod/item.php index 7d565bc35b..b62841e47d 100644 --- a/mod/item.php +++ b/mod/item.php @@ -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 = '';