summaryrefslogtreecommitdiffstats
path: root/editparams.cgi
diff options
context:
space:
mode:
authorReed Loden <reed@reedloden.com>2010-02-10 05:00:48 +0100
committerReed Loden <reed@reedloden.com>2010-02-10 05:00:48 +0100
commit75c45bfe94e44c4bbe77bd11ccfc13b7da57c1bb (patch)
tree1ba546f8bcf80a4fdb6dabbf6557cb857e879ff8 /editparams.cgi
parent8f239b454b12bbef4d3ef6172e03e3006ae2679d (diff)
downloadbugzilla-75c45bfe94e44c4bbe77bd11ccfc13b7da57c1bb.tar.gz
bugzilla-75c45bfe94e44c4bbe77bd11ccfc13b7da57c1bb.tar.xz
Bug 537846 - "Disable the "Reset" checkbox for the maintainer parameter" [r=mkanat a=mkanat]
Diffstat (limited to 'editparams.cgi')
-rwxr-xr-xeditparams.cgi2
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') {