diff --git a/cake/libs/model/datasources/dbo/dbo_mssql.php b/cake/libs/model/datasources/dbo/dbo_mssql.php index 02b5368fd..ec9578d99 100644 --- a/cake/libs/model/datasources/dbo/dbo_mssql.php +++ b/cake/libs/model/datasources/dbo/dbo_mssql.php @@ -278,7 +278,7 @@ class DboMssql extends DboSource { break; } - if (in_array($column, array('integer', 'float')) && is_numeric($data)) { + if (in_array($column, array('integer', 'float', 'binary')) && is_numeric($data)) { return $data; } return "'" . $data . "'";