diff options
author | Nathan Gass | 2023-08-16 17:43:59 +0200 |
---|---|---|
committer | Nathan Gass | 2023-08-16 17:43:59 +0200 |
commit | 56da1be11e400538bc360bece8a0e5a533fff91a (patch) | |
tree | 932492263341cee95baf688b42181dac5030bdc5 /it_dbi.class | |
parent | 3abdd4daeddd6da684d2731f9780b4aa38b3c280 (diff) | |
download | itools-56da1be11e400538bc360bece8a0e5a533fff91a.tar.gz itools-56da1be11e400538bc360bece8a0e5a533fff91a.tar.bz2 itools-56da1be11e400538bc360bece8a0e5a533fff91a.zip |
fix failing it_dbi tests when using postgresql
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } /** |