diff options
author | Andrey Andreev <narf@devilix.net> | 2014-03-31 16:20:55 +0200 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-03-31 16:20:55 +0200 |
commit | aaca5cb7a3df2cfb8e18e87dca43be6ab112747d (patch) | |
tree | 83a4cadd061cf0b96cfa2fe453618fd67a85d6cf /system/database | |
parent | 9cab42746a4f1bfcce9620fa87bec5d2f590666e (diff) |
[ci skip] Fix #2972
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 21ef40119..111546ecc 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php @@ -408,7 +408,7 @@ abstract class CI_DB_forge { } // _create_table will usually have the following format: "%s %s (%s\n)" - $sql = sprintf($this->_create_table.'%s;', + $sql = sprintf($this->_create_table.'%s', $sql, $this->db->escape_identifiers($table), $columns, |