Revert "Make sure we return 'true' and 'false' strings for boolean vals in api/statusnet/config.:format"
This reverts commit 419c38cc0b
.
This commit is contained in:
parent
419c38cc0b
commit
a9b130fc00
@ -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';
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user