diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-07 03:04:15 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-07 03:04:15 +0200 |
commit | 06a2e74e8834e88e4639d17dc756403985ca00f8 (patch) | |
tree | ccddc8a86edabaeb6810702524ce334d7762b334 /system/database/drivers/odbc/odbc_driver.php | |
parent | 69f23c1964c8e7352c5a75702fce30de9d4bd227 (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/odbc/odbc_driver.php')
-rw-r--r-- | system/database/drivers/odbc/odbc_driver.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php index 7c59c3060..985c975ce 100644 --- a/system/database/drivers/odbc/odbc_driver.php +++ b/system/database/drivers/odbc/odbc_driver.php @@ -242,8 +242,11 @@ class CI_DB_odbc_driver extends CI_DB { */
function escape_str($str)
{
+ // Access the CI object
+ $CI->get_instance();
+
// ODBC doesn't require escaping
- return $this->input->CI->_remove_invisible_characters($str);
+ return $CI->_remove_invisible_characters($str);
}
// --------------------------------------------------------------------
|