mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Bugfix: Complex (curly) syntax
This commit is contained in:
parent
ae59c08703
commit
1073eca2fa
@ -591,7 +591,7 @@ abstract class DBSchemaManager {
|
|||||||
if (!isset($this->tableList[strtolower($table)])) $newTable = true;
|
if (!isset($this->tableList[strtolower($table)])) $newTable = true;
|
||||||
|
|
||||||
if (is_array($spec)) {
|
if (is_array($spec)) {
|
||||||
$specValue = $this->$spec_orig['type']($spec_orig['parts']);
|
$specValue = $this->{$spec_orig['type']}($spec_orig['parts']);
|
||||||
} else {
|
} else {
|
||||||
$specValue = $spec;
|
$specValue = $spec;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user