Commit c417a3b3 authored by zYne's avatar zYne

boolean value handling fix

parent fddaa17a
...@@ -71,7 +71,7 @@ class Doctrine_Formatter extends Doctrine_Connection_Module ...@@ -71,7 +71,7 @@ class Doctrine_Formatter extends Doctrine_Connection_Module
{ {
if (is_array($item)) { if (is_array($item)) {
foreach ($item as $k => $value) { foreach ($item as $k => $value) {
if (is_bool($item)) { if (is_bool($value)) {
$item[$k] = (int) $value; $item[$k] = (int) $value;
} }
} }
......
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