diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-11-08 22:17:59 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-11-08 22:17:59 +0100 |
commit | bb173afe3fee816dab9d11764a8b9ff53dc5a1df (patch) | |
tree | cbe2cadcdccf9ebad90fbd53d526ea93fa5492da /phpBB | |
parent | 885e19e58a54dc5f06161dd56d7e1a2df34df95d (diff) | |
download | forums-bb173afe3fee816dab9d11764a8b9ff53dc5a1df.tar forums-bb173afe3fee816dab9d11764a8b9ff53dc5a1df.tar.gz forums-bb173afe3fee816dab9d11764a8b9ff53dc5a1df.tar.bz2 forums-bb173afe3fee816dab9d11764a8b9ff53dc5a1df.tar.xz forums-bb173afe3fee816dab9d11764a8b9ff53dc5a1df.zip |
[feature/soft-delete] Fix adding posts to *_posts when restoring soft deleted
PHPBB3-9567
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/content_visibility.php | 2 |
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); } |