From ca3f95619b0dcd3f497aac2d7eae1b0e2534cebc Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 4 Feb 2006 03:08:22 +0000 Subject: [PATCH] In prepare_field_for_sql(), this BOOL will work better --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index f8a5f9d..80a5836 100644 --- a/api.php +++ b/api.php @@ -567,7 +567,7 @@ class API } else if ($type == TYPE_BOOL) { - return ($this->values["$name"] == true ? 'TRUE' : 'FALSE'); + return ($this->values["$name"] == true ? "'1'" : "'0'"); } else { -- 2.22.5