summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql
diff options
context:
space:
mode:
authorGwenael Gallon <gwenael.gallon@mac.com>2015-02-07 20:02:40 +0100
committerGwenael Gallon <gwenael.gallon@mac.com>2015-02-07 20:02:40 +0100
commit843d2506e1a1eab17b871bc38b204d27047c9ff7 (patch)
tree56c8b38e68b49c76c5a07f02f896032c4c98219e /system/database/drivers/mysql
parent3053ded760a9657bdc7b935beb61d2f632859928 (diff)
Remove unnecessary return
Diffstat (limited to 'system/database/drivers/mysql')
-rw-r--r--system/database/drivers/mysql/mysql_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php
index f8e9b6d61..d571c45c6 100644
--- a/system/database/drivers/mysql/mysql_driver.php
+++ b/system/database/drivers/mysql/mysql_driver.php
@@ -390,7 +390,7 @@ class CI_DB_mysql_driver extends CI_DB {
if ($prefix_limit !== FALSE && $this->dbprefix !== '')
{
- return $sql." LIKE '".$this->escape_like_str($this->dbprefix)."%'";
+ $sql ." LIKE '".$this->escape_like_str($this->dbprefix)."%'";
}
return $sql;