gnu-social/_darcs/tentative_pristine
Evan Prodromou 76d91a358b better serialization of arrays and booleans in config output
darcs-hash:20081230211957-84dde-ea044934e16bb8ef89e762159ecea1fa008b65b9.gz
2008-12-30 16:19:57 -05:00

12 lines
565 B
Plaintext

hunk ./actions/twitapilaconica.php 122
- common_element($setting, null, common_config($section, $setting));
+ $value = common_config($section, $setting);
+ if (is_array($value)) {
+ $value = implode(',', $value);
+ } else if ($value === false) {
+ $value = 'false';
+ } else if ($value === true) {
+ $value = 'true';
+ }
+ common_element($setting, null, $value);