aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave%intrec.com <>2000-07-23 04:09:33 +0000
committerdave%intrec.com <>2000-07-23 04:09:33 +0000
commit2a9bdc98fbea38a2a70e98c4e940a0a9fa9b00e2 (patch)
treef965cf9516417c3244ec69c2549512f083ae5582 /processmail
parentFix for bug 46002 (reports.cgi allows users to view restricted products). (diff)
downloadbugzilla-2a9bdc98fbea38a2a70e98c4e940a0a9fa9b00e2.tar.gz
bugzilla-2a9bdc98fbea38a2a70e98c4e940a0a9fa9b00e2.tar.bz2
bugzilla-2a9bdc98fbea38a2a70e98c4e940a0a9fa9b00e2.zip
Fix for bug 30826 (new email tech not being honored for QA contacts).
Diffstat (limited to 'processmail')
-rwxr-xr-xprocessmail12
1 files changed, 7 insertions, 5 deletions
diff --git a/processmail b/processmail
index b81398680..f2f0f26fc 100755
--- a/processmail
+++ b/processmail
@@ -191,7 +191,7 @@ sub GetBugText {
my $status_whiteboard = "";
if (Param('useqacontact') && $::bug{'qa_contact'} > 0) {
$::bug{'qa_contact'} = DBID_to_name($::bug{'qa_contact'});
- $qa_contact = "QAContact: $::bug{'qa_contact'}\n";
+ $qa_contact = "$::bug{'qa_contact'}\n";
} else {
$::bug{'qa_contact'} = "";
}
@@ -463,10 +463,12 @@ sub NewProcessOneBug {
my $newcomments = GetLongDescriptionAsText($id, $start, $end);
my $count = 0;
- for my $person ($values{'assigned_to'}, $values{'reporter'},
- split(/,/, $values{'cc'}),
- @voterlist,
- @forcecc) {
+ my @personlist = ($values{'assigned_to'}, $values{'reporter'},
+ split(/,/, $values{'cc'}),
+ @voterlist,
+ @forcecc);
+ if ($values{'qa_contact'}) { push @personlist, $values{'qa_contact'} }
+ for my $person (@personlist) {
$count++;
NewProcessOnePerson($person, $count, \@headerlist, \%values,