diff options
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index 6a19096bf..06e47a6b4 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php @@ -762,7 +762,7 @@ abstract class CI_DB_forge { $attributes['CONSTRAINT'] = $this->db->escape($attributes['CONSTRAINT']); default: $field['length'] = is_array($attributes['CONSTRAINT']) - ? '("'.implode('","', $attributes['CONSTRAINT']).'")' + ? "('".implode("','", $attributes['CONSTRAINT'])."')" : '('.$attributes['CONSTRAINT'].')'; break; } |