diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-22 12:12:22 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-22 12:12:22 +0100 |
commit | 7ade8b7944d10f4fd1583789309cf003a3eac6f7 (patch) | |
tree | b5b305d5d8ffb781682914a40f19ae8aa9dac477 /system/database/drivers/oci8/oci8_forge.php | |
parent | 2eaeee5aa3971932e58ffac48554e554d799249f (diff) |
Fix modify_column() issues (#2020)
Diffstat (limited to 'system/database/drivers/oci8/oci8_forge.php')
-rw-r--r-- | system/database/drivers/oci8/oci8_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_forge.php b/system/database/drivers/oci8/oci8_forge.php index bd9d2df3c..a0efa95ea 100644 --- a/system/database/drivers/oci8/oci8_forge.php +++ b/system/database/drivers/oci8/oci8_forge.php @@ -105,7 +105,7 @@ class CI_DB_oci8_forge extends CI_DB_forge { $sql .= ' '.$alter_type.' '; $sql .= (count($field) === 1) - ? $fields[0] + ? $field[0] : '('.implode(',', $field).')'; // RENAME COLUMN must be executed after MODIFY |