From fde170c0640a04e0d9d686bfa368e1f368cc1ba1 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 10 Mar 2014 19:55:11 +0200 Subject: Fix #2928, #2929 --- system/database/DB_forge.php | 1 + 1 file changed, 1 insertion(+) (limited to 'system/database/DB_forge.php') diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index bcf7a8d71..38e4ccf2c 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php @@ -809,6 +809,7 @@ abstract class CI_DB_forge { $field['length'] = is_array($attributes['CONSTRAINT']) ? "('".implode("','", $attributes['CONSTRAINT'])."')" : '('.$attributes['CONSTRAINT'].')'; + break; default: $field['length'] = is_array($attributes['CONSTRAINT']) ? '('.implode(',', $attributes['CONSTRAINT']).')' -- cgit v1.2.3-24-g4f1b