summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi10
1 files changed, 10 insertions, 0 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index 427e622c4..54ed0dc8f 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -34,6 +34,8 @@ use lib qw(.);
require "CGI.pl";
require "bug_form.pl";
+use Bugzilla::User;
+
use RelationSet;
# Use the Flag module to modify flag data if the user set flags.
@@ -86,6 +88,14 @@ if (defined $::FORM{'id'}) {
# Make sure there are bugs to process.
scalar(@idlist) || ThrowUserError("no_bugs_chosen");
+# do a match on the fields if applicable
+
+&Bugzilla::User::match_field({
+ 'qa_contact' => { 'type' => 'single' },
+ 'newcc' => { 'type' => 'multi' },
+ 'assigned_to' => { 'type' => 'single' },
+});
+
# If we are duping bugs, let's also make sure that we can change
# the original. This takes care of issue A on bug 96085.
if (defined $::FORM{'dup_id'} && $::FORM{'knob'} eq "duplicate") {