From fa2ae3a14bebe34c84b0fa40323862c0f813c41b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Bartus?= Date: Wed, 2 Mar 2016 21:48:10 +0100 Subject: [PATCH] [ticket/14510] Prevent infinite loop in add_bots task PHPBB3-14510 --- phpBB/phpbb/install/module/install_data/task/add_bots.php | 1 + 1 file changed, 1 insertion(+) 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; }