summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
Diffstat (limited to 'actions')
-rw-r--r--actions/apistatusnetconfig.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apistatusnetconfig.php b/actions/apistatusnetconfig.php
index 66b23c02d..85564d574 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 ($value === false) {
+ } else if ((bool)$value === false) {
$value = 'false';
- } else if ($value === true) {
+ } else if ((bool)$value === true) {
$value = 'true';
}