diff options
author | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-02 21:51:19 +0100 |
---|---|---|
committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2016-03-02 21:51:19 +0100 |
commit | 942383d74320612ca8d4eb413c1d23459942028a (patch) | |
tree | 41b38ee57fa10f33813f9d20d8c7b7c71bb101ed | |
parent | a38a6ec7f551ca0c5c81969520ad6390e69b0a60 (diff) | |
parent | fa2ae3a14bebe34c84b0fa40323862c0f813c41b (diff) | |
download | forums-942383d74320612ca8d4eb413c1d23459942028a.tar forums-942383d74320612ca8d4eb413c1d23459942028a.tar.gz forums-942383d74320612ca8d4eb413c1d23459942028a.tar.bz2 forums-942383d74320612ca8d4eb413c1d23459942028a.tar.xz forums-942383d74320612ca8d4eb413c1d23459942028a.zip |
Merge pull request #4201 from CHItA/ticket/14510
[ticket/14510] Prevent infinite loop in add_bots task
* CHItA/ticket/14510:
[ticket/14510] Prevent infinite loop in add_bots task
-rw-r--r-- | phpBB/phpbb/install/module/install_data/task/add_bots.php | 1 |
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; } |