Bugfix: Complex (curly) syntax

This commit is contained in:
Marcz Hermo 2017-06-15 00:03:55 +12:00
parent ae59c08703
commit 1073eca2fa

View File

@ -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;
} }