diff options
author | Gwenael Gallon <gwenael.gallon@mac.com> | 2015-02-08 00:18:37 +0100 |
---|---|---|
committer | Gwenael Gallon <gwenael.gallon@mac.com> | 2015-02-08 00:18:37 +0100 |
commit | b4495898cacbaa1807da6f2a2117cf450fc4926c (patch) | |
tree | f6b0a87a3c77da194c4529b7f5d8cb90cad240c3 /system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php | |
parent | 54e648b7bc65ea36a519f0a7b4407106e4f2756d (diff) |
Revert "Remove unnecessary return"
This reverts commit 3053ded760a9657bdc7b935beb61d2f632859928.
Diffstat (limited to 'system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php')
-rw-r--r-- | system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php b/system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php index 11decab92..2dd41ca87 100644 --- a/system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php +++ b/system/database/drivers/pdo/subdrivers/pdo_pgsql_driver.php @@ -228,7 +228,7 @@ class CI_DB_pdo_pgsql_driver extends CI_DB_pdo_driver { if ($prefix_limit === TRUE && $this->dbprefix !== '') { - $sql .' AND "table_name" LIKE \'' + return $sql.' AND "table_name" LIKE \'' .$this->escape_like_str($this->dbprefix)."%' " .sprintf($this->_like_escape_str, $this->_like_escape_chr); } |