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 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, |