summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorMichiel Vugteveen <info@mvug.nl>2011-08-25 21:22:49 +0200
committerMichiel Vugteveen <info@mvug.nl>2011-08-25 21:22:49 +0200
commiteaa5541deb9409d936f77d24d696cf977ef505df (patch)
treeadbfe44ce814787ff8bd7408a47987b1bcf27a84 /system/database
parent6935931e0165aed0ef2d5bc9c0f51bf845969c35 (diff)
oci8 driver escape string quotes fix
Diffstat (limited to 'system/database')
-rw-r--r--system/database/drivers/oci8/oci8_driver.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index 42cfaaefb..d4adfd528 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -404,6 +404,7 @@ class CI_DB_oci8_driver extends CI_DB {
}
$str = remove_invisible_characters($str);
+ $str = str_replace("'", "''", $str);
// escape LIKE condition wildcards
if ($like === TRUE)