diff options
author | Eric Barnes <eric@ericlbarnes.com> | 2011-08-29 05:59:15 +0200 |
---|---|---|
committer | Eric Barnes <eric@ericlbarnes.com> | 2011-08-29 05:59:15 +0200 |
commit | 65faf9fb927cd20bc0b98f0f33ae662a2611c6de (patch) | |
tree | ed0677704edeb364ed17080b8c993e894550c024 /system/database/drivers/oci8 | |
parent | 91249f1154c6cc078afbf23faa60b9f6414ab597 (diff) | |
parent | 4f17de94737f5eb9e1230f7d854dea611ebd9901 (diff) |
Merge branch 'develop' into feature/unit-tests
Diffstat (limited to 'system/database/drivers/oci8')
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 1 |
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) |