mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #7020 from marczhermo/3.6.1
Bug: Complex (curly) syntax
This commit is contained in:
commit
c6b790ccb5
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user