aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migrator.php
diff options
context:
space:
mode:
authorJakub Senko <jakubsenko@gmail.com>2018-06-18 17:35:45 +0200
committerJakub Senko <jakubsenko@gmail.com>2018-06-19 07:49:21 +0200
commit1afc0673dd0004cf7602a79c03a969634d9150d0 (patch)
tree751c067e0c821269495c27b3afa548da0590d6d9 /phpBB/phpbb/db/migrator.php
parent02cbb864a5b6df62e978a69c368c8ec5ca35d8a3 (diff)
downloadforums-1afc0673dd0004cf7602a79c03a969634d9150d0.tar
forums-1afc0673dd0004cf7602a79c03a969634d9150d0.tar.gz
forums-1afc0673dd0004cf7602a79c03a969634d9150d0.tar.bz2
forums-1afc0673dd0004cf7602a79c03a969634d9150d0.tar.xz
forums-1afc0673dd0004cf7602a79c03a969634d9150d0.zip
[ticket/15696] Add support of other tools to 'if'
PHPBB3-15696
Diffstat (limited to 'phpBB/phpbb/db/migrator.php')
-rw-r--r--phpBB/phpbb/db/migrator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php
index a425df56e8..2b0c66fc58 100644
--- a/phpBB/phpbb/db/migrator.php
+++ b/phpBB/phpbb/db/migrator.php
@@ -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;
}