Commit 7f9f5451 authored by Guilherme Blanco's avatar Guilherme Blanco

Merge pull request #29 from activeingredient/patch-1

Changed boolean conversion values
parents 9f897bb9 e6a8dbb8
......@@ -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