Merge pull request #7020 from marczhermo/3.6.1

Bug: Complex (curly) syntax
This commit is contained in:
Daniel Hensby 2017-06-14 14:00:23 +01:00 committed by GitHub
commit c6b790ccb5

View File

@ -591,7 +591,7 @@ abstract class DBSchemaManager {
if (!isset($this->tableList[strtolower($table)])) $newTable = true;
if (is_array($spec)) {
$specValue = $this->$spec_orig['type']($spec_orig['parts']);
$specValue = $this->{$spec_orig['type']}($spec_orig['parts']);
} else {
$specValue = $spec;
}