summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mssql
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-07 02:19:34 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-07 02:19:34 +0200
commit2cad6e9da8b94833503d0d2f545bcaa29d50bd5d (patch)
tree27710681a466aaa5ca9da885939c54275a521925 /system/database/drivers/mssql
parentb4a6cf35fe8c637cec5be811f109f6f841456283 (diff)
There was a call to $this->input->_remove_invisible_characters($str); It should have been: $this->input->CI->_remove_invisible_characters($str);
Diffstat (limited to 'system/database/drivers/mssql')
-rw-r--r--system/database/drivers/mssql/mssql_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php
index fd3f9638a..9d7e072a4 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)
{
// Escape single quotes
- return str_replace("'", "''", $this->input->_remove_invisible_characters($str));
+ return str_replace("'", "''", $this->CI->input->_remove_invisible_characters($str));
}
// --------------------------------------------------------------------