summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/odbc/odbc_driver.php
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-03-20 14:18:19 +0100
committerTimothy Warren <tim@timshomepage.net>2012-03-20 14:18:19 +0100
commit999e278721a08241a47c7f3c6919422575e569e6 (patch)
tree661b5fce914f9886b76f19da0a9c8aa5e97261ee /system/database/drivers/odbc/odbc_driver.php
parent486e8a0a00f634df544c0e3cf38488a94f1a05a8 (diff)
parent820999cb0d82c80d6dc5dde133568812c8113e29 (diff)
Merge upstream
Diffstat (limited to 'system/database/drivers/odbc/odbc_driver.php')
-rw-r--r--system/database/drivers/odbc/odbc_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php
index 7054fb582..87abedec9 100644
--- a/system/database/drivers/odbc/odbc_driver.php
+++ b/system/database/drivers/odbc/odbc_driver.php
@@ -233,7 +233,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);
}
@@ -561,4 +561,4 @@ class CI_DB_odbc_driver extends CI_DB {
}
/* End of file odbc_driver.php */
-/* Location: ./system/database/drivers/odbc/odbc_driver.php */ \ No newline at end of file
+/* Location: ./system/database/drivers/odbc/odbc_driver.php */