aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_post.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_post.php')
-rw-r--r--phpBB/includes/functions_post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_post.php b/phpBB/includes/functions_post.php
index 03daee23fe..3d5e8e6b24 100644
--- a/phpBB/includes/functions_post.php
+++ b/phpBB/includes/functions_post.php
@@ -439,7 +439,7 @@ function update_post_stats(&$mode, &$post_data, &$forum_id, &$topic_id, &$post_i
if ( $row = $db->sql_fetchrow($result) )
{
- $topic_update_sql = 'topic_first_post_id = ' . $row['post_id'];
+ $topic_update_sql = 'topic_replies = topic_replies - 1, topic_first_post_id = ' . $row['post_id'];
}
}
}