diff options
author | Marc Alexander <admin@m-a-styles.de> | 2014-02-07 20:49:13 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2014-02-07 21:13:50 +0100 |
commit | e8f8dcf0eaf53c4d7e175a6b90ae181794718184 (patch) | |
tree | 7c85bfa15ce9f68bbe1f6355eae66bab17e09f76 /phpBB/phpbb/db | |
parent | 344baf91809bbfd5a224191e13472b94f77b421c (diff) | |
download | forums-e8f8dcf0eaf53c4d7e175a6b90ae181794718184.tar forums-e8f8dcf0eaf53c4d7e175a6b90ae181794718184.tar.gz forums-e8f8dcf0eaf53c4d7e175a6b90ae181794718184.tar.bz2 forums-e8f8dcf0eaf53c4d7e175a6b90ae181794718184.tar.xz forums-e8f8dcf0eaf53c4d7e175a6b90ae181794718184.zip |
[ticket/12170] Assign schema keys in migration helper with data_depth 1
The migration helper currently drops any keys with schema changes that have
the data_depth 1. This change will correctly assign the keys to the steps
array without dropping the keys that might contain important info like the
actual table that should be created.
PHPBB3-12170
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/migration/helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migration/helper.php b/phpBB/phpbb/db/migration/helper.php index 28a6a56511..009ad1da9f 100644 --- a/phpBB/phpbb/db/migration/helper.php +++ b/phpBB/phpbb/db/migration/helper.php @@ -53,7 +53,7 @@ class helper $steps[] = array( 'dbtools.perform_schema_changes', array(array( $change_type => array( - $value, + (!is_int($key)) ? $key : 0 => $value, ), )), ); |