Commit dff7f2f4 authored by cyeh%bluemartini.com's avatar cyeh%bluemartini.com

fix for 51520: Missing uses of Param('emailsuffix')

patch submitted by john.beranek@pace.co.uk (John Beranek)
parent 675e5279
...@@ -731,7 +731,7 @@ sub GetLongDescriptionAsText { ...@@ -731,7 +731,7 @@ sub GetLongDescriptionAsText {
while (MoreSQLData()) { while (MoreSQLData()) {
my ($who, $when, $text) = (FetchSQLData()); my ($who, $when, $text) = (FetchSQLData());
if ($count) { if ($count) {
$result .= "\n\n------- Additional Comments From $who " . $result .= "\n\n------- Additional Comments From $who".Param('emailsuffix')." ".
time2str("%Y-%m-%d %H:%M", str2time($when)) . " -------\n"; time2str("%Y-%m-%d %H:%M", str2time($when)) . " -------\n";
} }
$result .= $text; $result .= $text;
...@@ -772,6 +772,7 @@ sub GetLongDescriptionAsHTML { ...@@ -772,6 +772,7 @@ sub GetLongDescriptionAsHTML {
SendSQL($query); SendSQL($query);
while (MoreSQLData()) { while (MoreSQLData()) {
my ($who, $email, $when, $text) = (FetchSQLData()); my ($who, $email, $when, $text) = (FetchSQLData());
$email .= Param('emailsuffix');
if ($count) { if ($count) {
$result .= "<BR><BR><I>------- Additional Comments From "; $result .= "<BR><BR><I>------- Additional Comments From ";
if ($who) { if ($who) {
......
...@@ -402,7 +402,7 @@ sub NewProcessOneBug { ...@@ -402,7 +402,7 @@ sub NewProcessOneBug {
my ($who, $what, $when, $old, $new) = (@$ref); my ($who, $what, $when, $old, $new) = (@$ref);
if ($who ne $lastwho) { if ($who ne $lastwho) {
$lastwho = $who; $lastwho = $who;
$difftext .= "\n$who changed:\n\n"; $difftext .= "\n$who" . Param('emailsuffix') . " changed:\n\n";
$difftext .= FormatTriple("What ", "Old Value", "New Value"); $difftext .= FormatTriple("What ", "Old Value", "New Value");
$difftext .= ('-' x 76) . "\n"; $difftext .= ('-' x 76) . "\n";
} }
...@@ -570,6 +570,8 @@ sub NewProcessOnePerson ($$\@\%\%\%$$$$) { ...@@ -570,6 +570,8 @@ sub NewProcessOnePerson ($$\@\%\%\%$$$$) {
my $isnew = ($start !~ m/[1-9]/); my $isnew = ($start !~ m/[1-9]/);
my %substs; my %substs;
$person .= Param('emailsuffix');
$substs{"neworchanged"} = $isnew ? "New" : "Changed"; $substs{"neworchanged"} = $isnew ? "New" : "Changed";
$substs{"to"} = $person; $substs{"to"} = $person;
$substs{"cc"} = ''; $substs{"cc"} = '';
......
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