mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/soft-delete] Fix adding posts to *_posts when restoring soft deleted
PHPBB3-9567
This commit is contained in:
parent
885e19e58a
commit
bb173afe3f
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class phpbb_content_visibility
|
||||||
{
|
{
|
||||||
$sql_ary['posts_softdeleted'] = ' - ' . $cur_softdeleted_posts;
|
$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);
|
$sql_ary['posts'] = ' + ' . ($cur_softdeleted_posts + $cur_unapproved_posts);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue