From c417a3b3a673b0f008d197ece42d74e8f4420faf Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 12 Jun 2007 16:52:35 +0000 Subject: [PATCH] boolean value handling fix --- lib/Doctrine/Formatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Formatter.php b/lib/Doctrine/Formatter.php index 54d01d3b6..bb8d08640 100644 --- a/lib/Doctrine/Formatter.php +++ b/lib/Doctrine/Formatter.php @@ -71,7 +71,7 @@ class Doctrine_Formatter extends Doctrine_Connection_Module { if (is_array($item)) { foreach ($item as $k => $value) { - if (is_bool($item)) { + if (is_bool($value)) { $item[$k] = (int) $value; } }