1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Merged 3786 (removed is_numeric check from convert boolean method, when array is passed as parameter)

This commit is contained in:
adrive 2008-02-15 16:59:44 +00:00
parent 7fe74767d7
commit 23ab5b902d

View File

@ -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';
}
}