From 56da1be11e400538bc360bece8a0e5a533fff91a Mon Sep 17 00:00:00 2001 From: Nathan Gass Date: Wed, 16 Aug 2023 17:43:59 +0200 Subject: fix failing it_dbi tests when using postgresql --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_dbi.class') diff --git a/it_dbi.class b/it_dbi.class index d864a1a..41054c7 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -932,7 +932,7 @@ function escape_name($str) */ static function escape_bool($bool) { - return $bool ? 'TRUE' : 'FALSE'; + return intval($bool) ? 'TRUE' : 'FALSE'; } /** -- cgit v1.2.3