diff options
author | Brion Vibber <brion@pobox.com> | 2010-03-29 15:15:51 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-03-29 15:15:51 -0700 |
commit | 01a03e34c8d286011c0f4301e60c103d992a449a (patch) | |
tree | d9c5a44704b83d3ca05ed1f136a3748fb8210f12 /actions/apistatusnetconfig.php | |
parent | e2d3ebb9f4a3b516067745d250b4723367b928c2 (diff) | |
parent | cfeb1bfa419e886a1b60dfcbd4260d2f5de0515b (diff) |
Merge branch '0.9.x' into 1.0.x
Diffstat (limited to 'actions/apistatusnetconfig.php')
-rw-r--r-- | actions/apistatusnetconfig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/apistatusnetconfig.php b/actions/apistatusnetconfig.php index 66b23c02d..76d37ea97 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 ($value === false || $value == '0') { $value = 'false'; - } else if ($value === true) { + } else if ($value === true || $value == '1') { $value = 'true'; } |