1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

Merge pull request #5260 from senky/ticket/15696

[ticket/15696] 'if' module tool should support calling other tools

* github.com:/phpbb/phpbb:
  [ticket/15696] Add tests
  [ticket/15696] Add support of other tools to 'if'
This commit is contained in:
Tristan Darricau
2018-07-08 18:36:10 +02:00
2 changed files with 137 additions and 1 deletions

View File

@@ -760,7 +760,7 @@ class migrator
$condition = $parameters[0];
if (!$condition)
if (!$condition || (is_array($condition) && !$this->run_step($condition, $last_result, $reverse)))
{
return false;
}