commit | eaa5541deb9409d936f77d24d696cf977ef505df | [log] [tgz] |
---|---|---|
author | Michiel Vugteveen <info@mvug.nl> | Thu Aug 25 21:22:49 2011 +0200 |
committer | Michiel Vugteveen <info@mvug.nl> | Thu Aug 25 21:22:49 2011 +0200 |
tree | adbfe44ce814787ff8bd7408a47987b1bcf27a84 | |
parent | 6935931e0165aed0ef2d5bc9c0f51bf845969c35 [diff] [blame] |
oci8 driver escape string quotes fix
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index 42cfaae..d4adfd5 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php
@@ -404,6 +404,7 @@ } $str = remove_invisible_characters($str); + $str = str_replace("'", "''", $str); // escape LIKE condition wildcards if ($like === TRUE)