From 11063dc6fd0ed40eff010cb01f4d9f53d8d20f16 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 22 Jun 2021 22:33:56 +0000 Subject: [PATCH] Ensure public forum posts are public --- mod/item.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mod/item.php b/mod/item.php index 7d565bc35..b62841e47 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 = '';