diff options
author | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 20:29:49 +0200 |
---|---|---|
committer | Alex Bilbie <alex@alexbilbie.com> | 2012-06-02 20:29:49 +0200 |
commit | 1aece23434f16f43a297c7dd5c264754760bce00 (patch) | |
tree | 02c2bb5ddea0536969deda69d45a9955956897d7 /system/database/drivers/sqlite/sqlite_driver.php | |
parent | e732025fb36556529cbc5b826d0671d60bac6a57 (diff) |
Fix for bug in SQLite introduced in 48a2baf0e288accd206f5da5031d29076e130792
Diffstat (limited to 'system/database/drivers/sqlite/sqlite_driver.php')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php index e50239027..c87a16ba8 100644 --- a/system/database/drivers/sqlite/sqlite_driver.php +++ b/system/database/drivers/sqlite/sqlite_driver.php @@ -279,7 +279,7 @@ class CI_DB_sqlite_driver extends CI_DB { { $sql = "SELECT name from sqlite_master WHERE type='table'"; - if ($prefix_limit !== FALSE AND $this->dbprefix !== '') + if ($prefix_limit !== FALSE AND $this->dbprefix != '') { $sql .= " AND 'name' LIKE '".$this->escape_like_str($this->dbprefix)."%' ".sprintf($this->_like_escape_str, $this->_like_escape_chr); } |