mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 02:46:30 +00:00
Add ['type'] back to $field['key']['type'] as its used in many app_config.php files.
This commit is contained in:
@@ -188,7 +188,7 @@ function db_create_table ($apps, $db_type, $table) {
|
||||
else {
|
||||
$sql .= $field['type'];
|
||||
}
|
||||
if ($field['key'] == "primary") {
|
||||
if ($field['key']['type'] == "primary") {
|
||||
$sql .= " PRIMARY KEY";
|
||||
}
|
||||
$field_count++;
|
||||
|
||||
Reference in New Issue
Block a user