From a6b67207178ac6910512c7aaf18835c2051abc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Lorenzo=20Rodr=C3=ADguez?= Date: Mon, 25 Oct 2010 19:46:23 -0430 Subject: [PATCH] Fixing bug in boolean conversion for postgres --- cake/libs/model/datasources/dbo/dbo_postgres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/model/datasources/dbo/dbo_postgres.php b/cake/libs/model/datasources/dbo/dbo_postgres.php index a58c1a077..eeaaec1b6 100644 --- a/cake/libs/model/datasources/dbo/dbo_postgres.php +++ b/cake/libs/model/datasources/dbo/dbo_postgres.php @@ -741,7 +741,7 @@ class DboPostgres extends DboSource { } if ($quote) { - $result = ($result) ? 'TRUE' : 'FALSE'; + return ($result) ? 'TRUE' : 'FALSE'; } return (int) $result; }