Looking for empty default values in output_html() for multiselect settings.

Must be empty arrays.
This commit is contained in:
stronk7
2007-01-12 18:51:36 +00:00
parent d7933a55c8
commit 0b0f7c00be
+3
View File
@@ -1518,6 +1518,9 @@ class admin_setting_configmultiselect extends admin_setting_configselect {
function output_html() {
if ($this->get_setting() === NULL) {
$currentsetting = $this->defaultsetting;
if (!$currentsetting) {
$currentsetting = array();
}
} else {
$currentsetting = $this->get_setting();
}