Merged 3786 (removed is_numeric check from convert boolean method, when array is passed as parameter)
This commit is contained in:
parent
7fe74767d7
commit
23ab5b902d
@ -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';
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user