diff --git a/lam/templates/config/moduleSettings.php b/lam/templates/config/moduleSettings.php index 727d61ea..733049b5 100644 --- a/lam/templates/config/moduleSettings.php +++ b/lam/templates/config/moduleSettings.php @@ -219,8 +219,8 @@ for ($i = 0; $i < sizeof($modules); $i++) { if ($iconImage != null) { $icon = '' . $iconImage . ' '; } - echo "$icon" . getModuleAlias($modules[$i], "none") . "\n"; - $configTypes = parseHtml($modules[$i], $options[$modules[$i]], $old_options, true, $tabindex, 'user'); + echo "$icon" . getModuleAlias($modules[$i], "none") . "\n"; + $configTypes = parseHtml($modules[$i], $options[$modules[$i]], $old_options, false, $tabindex, 'user'); $_SESSION['conf_types'] = array_merge($configTypes, $_SESSION['conf_types']); echo "\n"; echo "
"; @@ -272,6 +272,10 @@ function checkInput() { elseif ($_SESSION['conf_types'][$element] == "text_obfuscated") { $options[$element] = array(obfuscateText($_POST[$element])); } + // hidden fields + elseif ($_SESSION['conf_types'][$element] == "hidden") { + $options[$element] = array($_POST[$element]); + } // checkboxes elseif ($_SESSION['conf_types'][$element] == "checkbox") { if (isset($_POST[$element]) && ($_POST[$element] == "on")) $options[$element] = array('true');