Fixing bug in boolean conversion for postgres

This commit is contained in:
José Lorenzo Rodríguez 2010-10-25 19:46:23 -04:30
parent 49ed8ede8e
commit a6b6720717

View file

@ -741,7 +741,7 @@ class DboPostgres extends DboSource {
}
if ($quote) {
$result = ($result) ? 'TRUE' : 'FALSE';
return ($result) ? 'TRUE' : 'FALSE';
}
return (int) $result;
}