aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2016-02-06 14:43:14 +0100
committerOliver Schramm <oliver.schramm97@gmail.com>2016-02-06 14:45:20 +0100
commitda08a6e3cbda3cb51052bd9c8b7ac697fba2305d (patch)
treedcc203305c39ca3cf08b0f1601f1119b6a8f2b6f /phpBB
parentdf505d772d2130427c36084f70aff7da8ca7342c (diff)
downloadforums-da08a6e3cbda3cb51052bd9c8b7ac697fba2305d.tar
forums-da08a6e3cbda3cb51052bd9c8b7ac697fba2305d.tar.gz
forums-da08a6e3cbda3cb51052bd9c8b7ac697fba2305d.tar.bz2
forums-da08a6e3cbda3cb51052bd9c8b7ac697fba2305d.tar.xz
forums-da08a6e3cbda3cb51052bd9c8b7ac697fba2305d.zip
[ticket/14461] Correctly count up $processed_records
PHPBB3-14461
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/phpbb/db/migration/data/v320/text_reparser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/data/v320/text_reparser.php b/phpBB/phpbb/db/migration/data/v320/text_reparser.php
index 8673a3488a..ea614feb40 100644
--- a/phpBB/phpbb/db/migration/data/v320/text_reparser.php
+++ b/phpBB/phpbb/db/migration/data/v320/text_reparser.php
@@ -81,7 +81,7 @@ class text_reparser extends \phpbb\db\migration\container_aware_migration
$end = max(1, $resume_data['current']);
$reparser->reparse_range($start, $end);
- $processed_records = $end - $start + 1;
+ $processed_records += $end - $start + 1;
$resume_data['current'] = $start - 1;
if ($start === 1)