diff options
Diffstat (limited to 'editparams.cgi')
-rwxr-xr-x | editparams.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editparams.cgi b/editparams.cgi index 9b4f04e3c..a8dc0daf9 100755 --- a/editparams.cgi +++ b/editparams.cgi @@ -87,7 +87,7 @@ if ($action eq 'save' && $current_module) { my $name = $i->{'name'}; my $value = $cgi->param($name); - if (defined $cgi->param("reset-$name")) { + if (defined $cgi->param("reset-$name") && !$i->{'no_reset'}) { $value = $i->{'default'}; } else { if ($i->{'type'} eq 'm') { |