From 23ab5b902d1377b540b8454e52eed28b87fdcf0f Mon Sep 17 00:00:00 2001 From: adrive Date: Fri, 15 Feb 2008 16:59:44 +0000 Subject: [PATCH] Merged 3786 (removed is_numeric check from convert boolean method, when array is passed as parameter) --- lib/Doctrine/Connection/Pgsql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Connection/Pgsql.php b/lib/Doctrine/Connection/Pgsql.php index f43e79662..f93687908 100644 --- a/lib/Doctrine/Connection/Pgsql.php +++ b/lib/Doctrine/Connection/Pgsql.php @@ -106,7 +106,7 @@ class Doctrine_Connection_Pgsql extends Doctrine_Connection_Common { if (is_array($item)) { foreach ($item as $key => $value) { - if (is_bool($value) || is_numeric($item)) { + if (is_bool($value)) { $item[$key] = ($value) ? 'true' : 'false'; } }