aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/install/module/install_data
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2016-03-02 21:48:10 +0100
committerMáté Bartus <mate.bartus@gmail.com>2016-03-02 21:48:10 +0100
commitfa2ae3a14bebe34c84b0fa40323862c0f813c41b (patch)
tree41b38ee57fa10f33813f9d20d8c7b7c71bb101ed /phpBB/phpbb/install/module/install_data
parenta38a6ec7f551ca0c5c81969520ad6390e69b0a60 (diff)
downloadforums-fa2ae3a14bebe34c84b0fa40323862c0f813c41b.tar
forums-fa2ae3a14bebe34c84b0fa40323862c0f813c41b.tar.gz
forums-fa2ae3a14bebe34c84b0fa40323862c0f813c41b.tar.bz2
forums-fa2ae3a14bebe34c84b0fa40323862c0f813c41b.tar.xz
forums-fa2ae3a14bebe34c84b0fa40323862c0f813c41b.zip
[ticket/14510] Prevent infinite loop in add_bots task
PHPBB3-14510
Diffstat (limited to 'phpBB/phpbb/install/module/install_data')
-rw-r--r--phpBB/phpbb/install/module/install_data/task/add_bots.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/install/module/install_data/task/add_bots.php b/phpBB/phpbb/install/module/install_data/task/add_bots.php
index d45a6839a0..1f1cecceb2 100644
--- a/phpBB/phpbb/install/module/install_data/task/add_bots.php
+++ b/phpBB/phpbb/install/module/install_data/task/add_bots.php
@@ -214,6 +214,7 @@ class add_bots extends \phpbb\install\task_base
// If we can't insert this user then continue to the next one to avoid inconsistent data
$this->io_handler->add_error_message('CONV_ERROR_INSERT_BOT');
+ $i++;
continue;
}