commit | 1082bddc0c065895a3b39607cb930f5a101f54fb | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sun Aug 27 19:32:02 2006 +0000 |
committer | admin <devnull@localhost> | Sun Aug 27 19:32:02 2006 +0000 |
tree | 2c19cb7dcee82642f2a072bf9f432091fda4c8b1 | |
parent | 0d29605b1e774efd57ffd8f5ccc8eaec1e9ca576 [diff] [blame] |
diff --git a/system/drivers/DB_mssql.php b/system/drivers/DB_mssql.php index 48d1929..f6e672b 100644 --- a/system/drivers/DB_mssql.php +++ b/system/drivers/DB_mssql.php
@@ -109,8 +109,8 @@ */ function escape_str($str) { - // MS SQL doesn't require escaping - return $str; + // Escape single quotes + return str_replace("'", "''", $str); } // --------------------------------------------------------------------