From 594bc0704b5de9c0570618f2d225c489640703f5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 30 Jan 2006 00:38:11 +0000 Subject: [PATCH] Bool values need to be encased --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index b1af22c..273c225 100644 --- a/api.php +++ b/api.php @@ -567,7 +567,7 @@ class API } else if ($type == TYPE_BOOL) { - return (int)$this->values["$name"]; + return "'" . (int)$this->values["$name"] . "'"; } else { -- 2.43.5