Ensure public forum posts are public
This commit is contained in:
parent
b7bbb32739
commit
11063dc6fd
1 changed files with 7 additions and 0 deletions
|
@ -443,6 +443,13 @@ function item_post(App $a) {
|
||||||
$postopts = '';
|
$postopts = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$private_forum) {
|
||||||
|
$str_contact_allow = '';
|
||||||
|
$str_group_allow = '';
|
||||||
|
$str_contact_deny = '';
|
||||||
|
$str_group_deny = '';
|
||||||
|
}
|
||||||
|
|
||||||
if ($private_forum || !APContact::getByURL($forum_contact['url'])) {
|
if ($private_forum || !APContact::getByURL($forum_contact['url'])) {
|
||||||
$str_group_allow = '';
|
$str_group_allow = '';
|
||||||
$str_contact_deny = '';
|
$str_contact_deny = '';
|
||||||
|
|
Loading…
Reference in a new issue