commit | aaca5cb7a3df2cfb8e18e87dca43be6ab112747d | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Mon Mar 31 17:20:55 2014 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Mon Mar 31 17:20:55 2014 +0300 |
tree | 83a4cadd061cf0b96cfa2fe453618fd67a85d6cf | |
parent | 9cab42746a4f1bfcce9620fa87bec5d2f590666e [diff] [blame] |
[ci skip] Fix #2972
diff --git a/system/database/DB_forge.php b/system/database/DB_forge.php index 21ef401..111546e 100644 --- a/system/database/DB_forge.php +++ b/system/database/DB_forge.php
@@ -408,7 +408,7 @@ } // _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,