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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue