Commit 8a30977e authored by bugreport%peshkin.net's avatar bugreport%peshkin.net

Bug 177624 Wildcard rejects --do_not_change-- in mass-change

Patch by not_erik r=joel
parent cf6262d5
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment