mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[feature/soft-delete] Fix adding posts to *_posts when restoring soft deleted
PHPBB3-9567
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user