diff options
author | PayBas <contact@paybas.com> | 2014-05-26 20:47:19 +0200 |
---|---|---|
committer | PayBas <contact@paybas.com> | 2014-05-26 20:47:19 +0200 |
commit | 3cabe5fd792fced4120de02cfef66900b49516c4 (patch) | |
tree | 7d15e28481a9c15568a802cfd0d6e39088f35a48 /phpBB/phpbb | |
parent | c51b926631eb8e339c7a29cf3ff145e9e158b04f (diff) | |
download | forums-3cabe5fd792fced4120de02cfef66900b49516c4.tar forums-3cabe5fd792fced4120de02cfef66900b49516c4.tar.gz forums-3cabe5fd792fced4120de02cfef66900b49516c4.tar.bz2 forums-3cabe5fd792fced4120de02cfef66900b49516c4.tar.xz forums-3cabe5fd792fced4120de02cfef66900b49516c4.zip |
[ticket/12561] Added tests for "after last", "after missing" and "empty"
Also removed tabs
PHPBB3-12561
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/db/migration/schema_generator.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/db/migration/schema_generator.php b/phpBB/phpbb/db/migration/schema_generator.php index f36e6a96d5..18c99fb94a 100644 --- a/phpBB/phpbb/db/migration/schema_generator.php +++ b/phpBB/phpbb/db/migration/schema_generator.php @@ -112,8 +112,8 @@ class schema_generator $columns = $this->tables[$table]['COLUMNS']; $offset = array_search($column_data['after'], array_keys($columns)); unset($column_data['after']); - - if ($offset == false) + + if ($offset === false) { $this->tables[$table]['COLUMNS'][$column] = array_values($column_data); } |