1
0
Fork 0

Use the exclamation mark to address forums as well

This commit is contained in:
Michael 2017-10-31 19:33:23 +00:00
commit 5222606602
4 changed files with 52 additions and 18 deletions

View file

@ -853,7 +853,7 @@ function item_store($arr, $force_parent = false, $notify = false, $dontcache = f
* The original author commented, but as this is a comment, the permissions
* weren't fixed up so it will still show the comment as private unless we fix it here.
*/
if ((intval($r[0]['forum_mode']) == 1) && (! $r[0]['private'])) {
if ((intval($r[0]['forum_mode']) == 1) && $r[0]['private']) {
$arr['private'] = 0;
}