diff options
author | Derek Jones <derek.jones@ellislab.com> | 2010-03-30 15:56:53 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2010-03-30 15:56:53 +0200 |
commit | 4bde110ec6769fe0fd0194be602fd3ed85c52bc7 (patch) | |
tree | 88b8a653e86b1007a4363299ce8ed7aee26323ae /system/database/drivers | |
parent | b7054751900fd6dfc6837d0e1fda57c416063cf6 (diff) |
fixed a fatal PHP error in SQLite Forge _create_table()
Diffstat (limited to 'system/database/drivers')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_forge.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlite/sqlite_forge.php b/system/database/drivers/sqlite/sqlite_forge.php index b7d25e755..53b20a3c7 100644 --- a/system/database/drivers/sqlite/sqlite_forge.php +++ b/system/database/drivers/sqlite/sqlite_forge.php @@ -77,7 +77,7 @@ class CI_DB_sqlite_forge extends CI_DB_forge { $sql = 'CREATE TABLE '; // IF NOT EXISTS added to SQLite in 3.3.0 - if ($if_not_exists === TRUE && version_compare($this->_version(), '3.3.0', '>=') === TRUE) + if ($if_not_exists === TRUE && version_compare($this->db->_version(), '3.3.0', '>=') === TRUE) { $sql .= 'IF NOT EXISTS '; } |