mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12561] Added tests for "after last", "after missing" and "empty"
Also removed tabs PHPBB3-12561
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user