summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/oci8
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-07 03:04:15 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-07 03:04:15 +0200
commit06a2e74e8834e88e4639d17dc756403985ca00f8 (patch)
treeccddc8a86edabaeb6810702524ce334d7762b334 /system/database/drivers/oci8
parent69f23c1964c8e7352c5a75702fce30de9d4bd227 (diff)
Oops! Didn't realize that the CI super object was not being used by the main Driver. Fixed...
Diffstat (limited to 'system/database/drivers/oci8')
-rw-r--r--system/database/drivers/oci8/oci8_driver.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php
index 362da58fb..82bc51bf3 100644
--- a/system/database/drivers/oci8/oci8_driver.php
+++ b/system/database/drivers/oci8/oci8_driver.php
@@ -367,7 +367,10 @@ class CI_DB_oci8_driver extends CI_DB {
*/
function escape_str($str)
{
- return $this->input->CI->_remove_invisible_characters($str);
+ // Access the CI object
+ $CI->get_instance();
+
+ return $CI->_remove_invisible_characters($str);
}
// --------------------------------------------------------------------