aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/content_visibility.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/content_visibility.php b/phpBB/includes/content_visibility.php
index 8f7e86cdf5..a1b7c16c2d 100644
--- a/phpBB/includes/content_visibility.php
+++ b/phpBB/includes/content_visibility.php
@@ -393,7 +393,7 @@ class phpbb_content_visibility
{
$sql_ary['posts_softdeleted'] = ' - ' . $cur_softdeleted_posts;
}
- if ($cur_posts + $cur_unapproved_posts)
+ if ($cur_softdeleted_posts + $cur_unapproved_posts)
{
$sql_ary['posts'] = ' + ' . ($cur_softdeleted_posts + $cur_unapproved_posts);
}