diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-07 03:16:57 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-07 03:16:57 +0200 |
commit | ca86a7cf108fe13b89ba22b727a10ab3ac58db19 (patch) | |
tree | 3d084e617e5b1e10f2db2707fb573e05044135b6 /system/database | |
parent | 218839a7f4910834e4e991c6650da05b1bd7f743 (diff) |
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/mssql/mssql_driver.php | 2 | ||||
-rw-r--r-- | system/database/drivers/oci8/oci8_driver.php | 2 | ||||
-rw-r--r-- | system/database/drivers/odbc/odbc_driver.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php index d0e1092e6..ed6eadbf8 100644 --- a/system/database/drivers/mssql/mssql_driver.php +++ b/system/database/drivers/mssql/mssql_driver.php @@ -214,7 +214,7 @@ class CI_DB_mssql_driver extends CI_DB { function escape_str($str)
{
// Access the CI object
- $CI->get_instance();
+ $CI =& get_instance();
// Escape single quotes
return str_replace("'", "''", $CI->input->_remove_invisible_characters($str));
diff --git a/system/database/drivers/oci8/oci8_driver.php b/system/database/drivers/oci8/oci8_driver.php index 82bc51bf3..96a6a1352 100644 --- a/system/database/drivers/oci8/oci8_driver.php +++ b/system/database/drivers/oci8/oci8_driver.php @@ -368,7 +368,7 @@ class CI_DB_oci8_driver extends CI_DB { function escape_str($str)
{
// Access the CI object
- $CI->get_instance();
+ $CI =& get_instance();
return $CI->_remove_invisible_characters($str);
}
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php index 985c975ce..29928807b 100644 --- a/system/database/drivers/odbc/odbc_driver.php +++ b/system/database/drivers/odbc/odbc_driver.php @@ -243,7 +243,7 @@ class CI_DB_odbc_driver extends CI_DB { function escape_str($str)
{
// Access the CI object
- $CI->get_instance();
+ $CI =& get_instance();
// ODBC doesn't require escaping
return $CI->_remove_invisible_characters($str);
|