Commit e6a8dbb8 authored by Mark Brennand's avatar Mark Brennand

Changed boolean conversion values to align with boolean column type of BIT

parent 9f897bb9
......@@ -628,12 +628,12 @@ class MsSqlPlatform extends AbstractPlatform
if (is_array($item)) {
foreach ($item as $key => $value) {
if (is_bool($value) || is_numeric($item)) {
$item[$key] = ($value) ? 'TRUE' : 'FALSE';
$item[$key] = ($value) ? 1 : 0;
}
}
} else {
if (is_bool($item) || is_numeric($item)) {
$item = ($item) ? 'TRUE' : 'FALSE';
$item = ($item) ? 1 : 0;
}
}
return $item;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment