1
1
Fork 0

Ensure public forum posts are public

This commit is contained in:
Michael 2021-06-22 22:33:56 +00:00
parent b7bbb32739
commit 11063dc6fd

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