diff --git a/cake/libs/model/datasources/dbo/dbo_postgres.php b/cake/libs/model/datasources/dbo/dbo_postgres.php index a58c1a07771..eeaaec1b62d 100644 --- a/cake/libs/model/datasources/dbo/dbo_postgres.php +++ b/cake/libs/model/datasources/dbo/dbo_postgres.php @@ -741,7 +741,7 @@ function boolean($data, $quote = true) { } if ($quote) { - $result = ($result) ? 'TRUE' : 'FALSE'; + return ($result) ? 'TRUE' : 'FALSE'; } return (int) $result; }