Fix for bug 101659: emailsuffix was missing from the component owner mailto tag…

Fix for bug 101659: emailsuffix was missing from the component owner mailto tag on sites that use emailsuffix. Patch by Steve Naldrett <snaldrett@transparentnetworks.com> r= justdave@syndicomm.com x2
parent cad844da
...@@ -104,6 +104,7 @@ print " ...@@ -104,6 +104,7 @@ print "
<th align=left>Default owner</th> <th align=left>Default owner</th>
"; ";
my $emailsuffix = Param("emailsuffix");
my $useqacontact = Param("useqacontact"); my $useqacontact = Param("useqacontact");
my $cols = 2; my $cols = 2;
...@@ -131,11 +132,11 @@ foreach (@data) { ...@@ -131,11 +132,11 @@ foreach (@data) {
print qq| print qq|
<tr><td colspan=$cols><hr></td></tr> <tr><td colspan=$cols><hr></td></tr>
<tr><td rowspan=2>$component</td> <tr><td rowspan=2>$component</td>
<td><a href="mailto:$initialowner">$initialowner</a></td> <td><a href="mailto:$initialowner$emailsuffix">$initialowner</a></td>
|; |;
if ($useqacontact) { if ($useqacontact) {
print qq| print qq|
<td><a href="mailto:$initialqacontact">$initialqacontact</a></td> <td><a href="mailto:$initialqacontact$emailsuffix">$initialqacontact</a></td>
|; |;
} }
print "</tr><tr><td colspan=$colbut1>$description</td></tr>\n"; print "</tr><tr><td colspan=$colbut1>$description</td></tr>\n";
......
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