Ensure public forum posts are public

This commit is contained in:
Michael 2021-06-22 22:33:56 +00:00
parent b7bbb32739
commit 11063dc6fd
1 changed files with 7 additions and 0 deletions

View 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 = '';