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
This commit is contained in:
Tristan Darricau 2016-03-02 21:51:19 +01:00
commit 942383d743

View file

@ -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 // 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'); $this->io_handler->add_error_message('CONV_ERROR_INSERT_BOT');
$i++;
continue; continue;
} }