mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge 50cf4892ea
into bdbd0be548
This commit is contained in:
commit
0d73ba3654
1 changed files with 5 additions and 2 deletions
|
@ -441,12 +441,15 @@ class content_visibility
|
|||
{
|
||||
$post_ids[] = (int) $row['post_id'];
|
||||
|
||||
if ($row['post_visibility'] != $visibility)
|
||||
if ($row['post_visibility'] != $visibility )
|
||||
{
|
||||
if ($row['post_postcount'] && !isset($poster_postcounts[(int) $row['poster_id']]))
|
||||
{
|
||||
$poster_postcounts[(int) $row['poster_id']] = 1;
|
||||
if($row['post_visibility'] != 0 || $visibility != ITEM_DELETED ){
|
||||
$poster_postcounts[(int) $row['poster_id']] = 1;
|
||||
}
|
||||
}
|
||||
|
||||
else if ($row['post_postcount'])
|
||||
{
|
||||
$poster_postcounts[(int) $row['poster_id']]++;
|
||||
|
|
Loading…
Add table
Reference in a new issue