aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-11-01 06:20:26 +0000
committerbugreport%peshkin.net <>2002-11-01 06:20:26 +0000
commit8a30977ef72b7501fa2db8259816bbc396f5b5f2 (patch)
tree828e5b1321d26828ef28e2547add00af7dfa4b82 /Bugzilla
parentcf6262d55a4d22906625cf659d94736515393122 (diff)
downloadbugs-8a30977ef72b7501fa2db8259816bbc396f5b5f2.tar
bugs-8a30977ef72b7501fa2db8259816bbc396f5b5f2.tar.gz
bugs-8a30977ef72b7501fa2db8259816bbc396f5b5f2.tar.bz2
bugs-8a30977ef72b7501fa2db8259816bbc396f5b5f2.tar.xz
bugs-8a30977ef72b7501fa2db8259816bbc396f5b5f2.zip
Bug 177624 Wildcard rejects --do_not_change-- in mass-change
Patch by not_erik r=joel
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/User.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 087dc1113..3e5cce990 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -214,6 +214,9 @@ sub match_field {
$vars->{'form'} = \%::FORM;
$vars->{'mform'} = \%::MFORM;
+ # What does a "--do_not_change--" field look like (if any)?
+ my $dontchange = $vars->{'form'}->{'dontchange'};
+
# Skip all of this if the option has been turned off
return 1 if (&::Param('usermatchmode') eq 'off');
@@ -229,6 +232,9 @@ sub match_field {
next if !defined($vars->{'mform'}->{$field});
+ # Skip it if this is a --do_not_change-- field
+ next if $dontchange eq $vars->{'form'}->{$field};
+
# We need to move the query to $raw_field, where it will be split up,
# modified by the search, and put back into $::FORM and $::MFORM
# incrementally.