Commit 23ab5b90 authored by adrive's avatar adrive

Merged 3786 (removed is_numeric check from convert boolean method, when array...

Merged 3786 (removed is_numeric check from convert boolean method, when array is passed as parameter)
parent 7fe74767
...@@ -106,7 +106,7 @@ class Doctrine_Connection_Pgsql extends Doctrine_Connection_Common ...@@ -106,7 +106,7 @@ class Doctrine_Connection_Pgsql extends Doctrine_Connection_Common
{ {
if (is_array($item)) { if (is_array($item)) {
foreach ($item as $key => $value) { foreach ($item as $key => $value) {
if (is_bool($value) || is_numeric($item)) { if (is_bool($value)) {
$item[$key] = ($value) ? 'true' : 'false'; $item[$key] = ($value) ? 'true' : 'false';
} }
} }
......
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