Version 0.9-beta2 ()
------------------------------------------------------------------------
+ * Fix "easy installation" leading to an error with language charsets.
+ Thanks to Heddesheimer from the forums for spotting this!
+ (garvinhicking)
+
* Improve Spamblock plugin to allow configuring author/url filters
straight from the "Comments" interface. (garvinhicking)
} else {
$authorid = $serendipity['authorid'];
}
+
+ if (is_array($_POST[$item['var']])) {
+ // Arrays not allowed. Use first index value.
+ list($a_key, $a_val) = each($_POST[$item['var']]);
+ $_POST[$item['var']] = $a_key;
+
+ // If it still is an array, munge it all together.
+ if (is_array($_POST[$item['var']])) {
+ $_POST[$item['var']] = @implode(',', $_POST[$item['var']]);
+ }
+ }
serendipity_set_config_var($item['var'], $_POST[$item['var']], $authorid);
}