From 2fd20fe466792303396552d1b9191ca9fa07ab68 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 30 Jan 2006 00:43:02 +0000 Subject: [PATCH] Use TRUE and FALSE constants --- api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.php b/api.php index 273c225..f8a5f9d 100644 --- a/api.php +++ b/api.php @@ -567,7 +567,7 @@ class API } else if ($type == TYPE_BOOL) { - return "'" . (int)$this->values["$name"] . "'"; + return ($this->values["$name"] == true ? 'TRUE' : 'FALSE'); } else { -- 2.43.5