summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc/odbc_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-20 13:46:27 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-20 13:46:27 +0100
commit6ea625e7f31b65838f1829408d37ac26009c79bc (patch)
treeb7200fd20bb50180c618b70be3bd299942178bf1 /system/database/drivers/odbc/odbc_driver.php
parent78ef5a58e180e288100639c08245c6d13d157455 (diff)
Again alter ODBC's escape_str()
Diffstat (limited to 'system/database/drivers/odbc/odbc_driver.php')
-rw-r--r--system/database/drivers/odbc/odbc_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index 5e3fd7aef..cfa561c3d 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -249,7 +249,7 @@ class CI_DB_odbc_driver extends CI_DB {
// escape LIKE condition wildcards
if ($like === TRUE)
{
- return str_replace(array($this->_like_escape_chr.$this->_like_escape_chr, '%', '_'),
+ return str_replace(array($this->_like_escape_chr, '%', '_'),
array($this->_like_escape_chr.$this->_like_escape_chr, $this->_like_escape_chr.'%', $this->_like_escape_chr.'_'),
$str);
}