diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-02-11 00:47:13 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-02-11 00:47:13 +0100 |
commit | 41d4b592b9b0962e444938fcf106cccbbd8fda59 (patch) | |
tree | fcdfb11b1abf4de2a8a0699c5afebbe919c2ccdc /system/database/drivers/mssql/mssql_driver.php | |
parent | 7555ade507982af16ed763e2e560a60892408bd2 (diff) |
escape_table made consistent with mysql driver across all drivers
Diffstat (limited to 'system/database/drivers/mssql/mssql_driver.php')
-rw-r--r-- | system/database/drivers/mssql/mssql_driver.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php index 8e12a2d21..e429d21a6 100644 --- a/system/database/drivers/mssql/mssql_driver.php +++ b/system/database/drivers/mssql/mssql_driver.php @@ -408,9 +408,9 @@ class CI_DB_mssql_driver extends CI_DB { // I don't believe this is necessary with MS SQL. Not sure, though. - Rick
/*
- if (stristr($table, '.'))
+ if (strpos($table, '.') !== FALSE)
{
- $table = preg_replace("/\./", "`.`", $table);
+ $table = str_replace('.', '`.`', $table);
}
*/
|