summaryrefslogtreecommitdiffstats
path: root/system/database/drivers
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-01 13:43:04 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-01 13:43:04 +0100
commit7ccb7ecc8e84f8e4f4cdf5ed10247f4350c7ec34 (patch)
treec070c13151562383c3f65507ca27d4153f50827a /system/database/drivers
parent18c9ea77c7c68be38ea1b995cccff18ee2e6acb4 (diff)
parentc2905f5884a7d9cd9ae1f70cdc615a5d214652dd (diff)
Merge upstream branch
Diffstat (limited to 'system/database/drivers')
-rw-r--r--system/database/drivers/oci8/oci8_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index 007e56a0b..ba53178b8 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -477,7 +477,7 @@ class CI_DB_oci8_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);
}