summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class2
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';
}
/**