do not reset all module settings if a single error occured

This commit is contained in:
Roland Gruber 2006-01-31 17:00:14 +00:00
parent 97ae8f3d42
commit 1b84f105a1
1 changed files with 1 additions and 0 deletions

View File

@ -493,6 +493,7 @@ function saveSettings() {
// print error messages if any // print error messages if any
if (sizeof($errors) > 0) { if (sizeof($errors) > 0) {
$_SESSION['conf_errors'] = $errors; $_SESSION['conf_errors'] = $errors;
$conf->set_moduleSettings($options);
} }
// save settings if no errors occured // save settings if no errors occured
else { else {