diff options
author | Gwenael Gallon <gwenael.gallon@mac.com> | 2015-02-08 00:18:28 +0100 |
---|---|---|
committer | Gwenael Gallon <gwenael.gallon@mac.com> | 2015-02-08 00:18:28 +0100 |
commit | 54e648b7bc65ea36a519f0a7b4407106e4f2756d (patch) | |
tree | c2f6668bb33d151affa3b663c29c3c227ba215b4 /system/database/drivers/sqlite/sqlite_driver.php | |
parent | 843d2506e1a1eab17b871bc38b204d27047c9ff7 (diff) |
Revert "Remove unnecessary return"
This reverts commit 843d2506e1a1eab17b871bc38b204d27047c9ff7.
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 42dd9a705..9d9caa0b4 100644 --- a/system/database/drivers/sqlite/sqlite_driver.php +++ b/system/database/drivers/sqlite/sqlite_driver.php @@ -233,7 +233,7 @@ class CI_DB_sqlite_driver extends CI_DB { if ($prefix_limit !== FALSE && $this->dbprefix != '') { - $sql ." AND 'name' LIKE '".$this->escape_like_str($this->dbprefix)."%' ".sprintf($this->_like_escape_str, $this->_like_escape_chr); + return $sql." AND 'name' LIKE '".$this->escape_like_str($this->dbprefix)."%' ".sprintf($this->_like_escape_str, $this->_like_escape_chr); } return $sql; |