Use the exclamation mark to address forums as well
This commit is contained in:
parent
22aa7f9f07
commit
5222606602
4 changed files with 52 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue