From 3825aee1306d60040677e15e237772e0666dfdd7 Mon Sep 17 00:00:00 2001 From: Geolim4 Date: Fri, 8 Aug 2014 13:48:04 +0200 Subject: [PATCH] [ticket/11520] Re-adjust userpost count on topic fork PHPBB3-11520 --- phpBB/includes/mcp/mcp_main.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 25d3e7380f..92000c6ceb 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -1309,8 +1309,7 @@ function mcp_fork_topic($topic_ids) 'post_edit_locked' => (int) $row['post_edit_locked'], 'post_postcount' => $row['post_postcount'], ); - // Adjust post count only if the post can be incremented to the user counter else, it was not added the users post count anyway - // Do not do the query here but later, we just increment the count of posts until the loop is finished, then do new posts counters. + // Adjust post count only if the post can be incremented to the user counter if ($row['post_postcount']) { if (isset($counter[$row['poster_id']]))