diff options
Diffstat (limited to 'phpBB/includes/db/mssql.php')
-rw-r--r-- | phpBB/includes/db/mssql.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/phpBB/includes/db/mssql.php b/phpBB/includes/db/mssql.php index 0e8cc318f1..fe6cf75b12 100644 --- a/phpBB/includes/db/mssql.php +++ b/phpBB/includes/db/mssql.php @@ -256,7 +256,7 @@ class dbal_mssql extends dbal { foreach ($row as $key => $value) { - $row[$key] = ($value === ' ' && strpos($key, 'bitfield') === false) ? '' : $value; + $row[$key] = ($value === ' ') ? '' : $value; } } @@ -370,14 +370,6 @@ class dbal_mssql extends dbal } /** - * Escape string used in sql query - */ - function sql_escape_binary($msg) - { - return "CAST('" . $msg . "' AS varbinary)"; - } - - /** * return sql error array * @access: private */ |