diff --git a/model/connect/DBSchemaManager.php b/model/connect/DBSchemaManager.php
index <HASH>..<HASH> 100644
--- a/model/connect/DBSchemaManager.php
+++ b/model/connect/DBSchemaManager.php
@@ -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;
 		}
Bugfix: Complex (curly) syntax