aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-06-17 10:15:00 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-06-17 10:15:00 +0200
commit05f9ef71346651b40f409596ab8b244ce89b978b (patch)
tree070e149c5c54c1de946a4b77c5c13b485e7c60f8 /phpBB
parentfc8d0c54e9709e554ba49862a2b7e4940f006106 (diff)
parentca705af91d1849e17a906990159f52d9667a9346 (diff)
downloadforums-05f9ef71346651b40f409596ab8b244ce89b978b.tar
forums-05f9ef71346651b40f409596ab8b244ce89b978b.tar.gz
forums-05f9ef71346651b40f409596ab8b244ce89b978b.tar.bz2
forums-05f9ef71346651b40f409596ab8b244ce89b978b.tar.xz
forums-05f9ef71346651b40f409596ab8b244ce89b978b.zip
Merge branch '3.2.x' into 3.3.x
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_posting.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 94c377c389..cf511ec247 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -1274,6 +1274,7 @@ function delete_post($forum_id, $topic_id, $post_id, &$data, $is_soft = false, $
delete_topics('topic_id', array($topic_id), false);
$phpbb_content_visibility->remove_topic_from_statistic($data, $sql_data);
+ $config->increment('num_posts', -1, false);
$update_sql = update_post_information('forum', $forum_id, true);
if (count($update_sql))