Commit 2a9bdc98 authored by dave%intrec.com's avatar dave%intrec.com

Fix for bug 30826 (new email tech not being honored for QA contacts).

parent 05ac2fb1
...@@ -191,7 +191,7 @@ sub GetBugText { ...@@ -191,7 +191,7 @@ sub GetBugText {
my $status_whiteboard = ""; my $status_whiteboard = "";
if (Param('useqacontact') && $::bug{'qa_contact'} > 0) { if (Param('useqacontact') && $::bug{'qa_contact'} > 0) {
$::bug{'qa_contact'} = DBID_to_name($::bug{'qa_contact'}); $::bug{'qa_contact'} = DBID_to_name($::bug{'qa_contact'});
$qa_contact = "QAContact: $::bug{'qa_contact'}\n"; $qa_contact = "$::bug{'qa_contact'}\n";
} else { } else {
$::bug{'qa_contact'} = ""; $::bug{'qa_contact'} = "";
} }
...@@ -463,10 +463,12 @@ sub NewProcessOneBug { ...@@ -463,10 +463,12 @@ sub NewProcessOneBug {
my $newcomments = GetLongDescriptionAsText($id, $start, $end); my $newcomments = GetLongDescriptionAsText($id, $start, $end);
my $count = 0; my $count = 0;
for my $person ($values{'assigned_to'}, $values{'reporter'}, my @personlist = ($values{'assigned_to'}, $values{'reporter'},
split(/,/, $values{'cc'}), split(/,/, $values{'cc'}),
@voterlist, @voterlist,
@forcecc) { @forcecc);
if ($values{'qa_contact'}) { push @personlist, $values{'qa_contact'} }
for my $person (@personlist) {
$count++; $count++;
NewProcessOnePerson($person, $count, \@headerlist, \%values, NewProcessOnePerson($person, $count, \@headerlist, \%values,
......
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