my %prodhash;
my %statushash;
my %ownerhash;
+my %qahash;
my $pricol = -1;
my $sevcol = -1;
if ($c eq "owner") {
$ownerhash{$value} = 1;
}
+ if ($c eq "qa_contact") {
+ $qahash{$value} = 1;
+ }
if ( ($c eq "owner" || $c eq "qa_contact" ) &&
length $value > $maxemailsize ) {
my $trunc = substr $value, 0, $maxemailsize;
print "Change several bugs at once</A></NOBR>\n";
}
my @owners = sort(keys(%ownerhash));
+ my $suffix = Param('emailsuffix');
if (@owners > 1 && UserInGroup("editbugs")) {
- my $suffix = Param('emailsuffix');
if ($suffix ne "") {
map(s/$/$suffix/, @owners);
}
my $list = join(',', @owners);
print qq{ \n};
- print qq{<NOBR><A HREF="mailto:$list">Send mail to bug owners</A></NOBR>\n};
+ print qq{<A HREF="mailto:$list">Send mail to bug owners</A>\n};
+ }
+ my @qacontacts = sort(keys(%qahash));
+ if (@qacontacts > 1 && UserInGroup("editbugs") && Param("useqacontact")) {
+ if ($suffix ne "") {
+ map(s/$/$suffix/, @qacontacts);
+ }
+ my $list = join(',', @qacontacts);
+ print qq{ \n};
+ print qq{<A HREF="mailto:$list">Send mail to bug QA contacts</A>\n};
}
print qq{ \n};
print qq{<NOBR><A HREF="query.cgi?$::buffer">Edit this query</A></NOBR>\n};