From a9b130fc000638565a4cbc010fe13eeba37e90ff Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 26 Mar 2010 19:48:07 +0000 Subject: Revert "Make sure we return 'true' and 'false' strings for boolean vals in api/statusnet/config.:format" This reverts commit 419c38cc0bf3f2649be9ad18e983b9f0ac8dfec0. --- actions/apistatusnetconfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/apistatusnetconfig.php') diff --git a/actions/apistatusnetconfig.php b/actions/apistatusnetconfig.php index 85564d574..66b23c02d 100644 --- a/actions/apistatusnetconfig.php +++ b/actions/apistatusnetconfig.php @@ -103,9 +103,9 @@ class ApiStatusnetConfigAction extends ApiAction $value = common_config($section, $setting); if (is_array($value)) { $value = implode(',', $value); - } else if ((bool)$value === false) { + } else if ($value === false) { $value = 'false'; - } else if ((bool)$value === true) { + } else if ($value === true) { $value = 'true'; } -- cgit v1.2.3-54-g00ecf