From d0772b507af33e2ee8ea3c4298852c7ff2bc5a07 Mon Sep 17 00:00:00 2001 From: "cyeh%bluemartini.com" Date: Wed, 13 Sep 2000 17:45:48 +0000 Subject: [PATCH] fix for 51520: Missing uses of Param('emailsuffix') patch submitted by john.beranek@pace.co.uk (John Beranek) git-svn-id: svn://10.0.0.236/trunk@79024 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/globals.pl | 3 ++- mozilla/webtools/bugzilla/processmail | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/globals.pl b/mozilla/webtools/bugzilla/globals.pl index 94e16734d0c..d8d1bc14298 100644 --- a/mozilla/webtools/bugzilla/globals.pl +++ b/mozilla/webtools/bugzilla/globals.pl @@ -731,7 +731,7 @@ sub GetLongDescriptionAsText { while (MoreSQLData()) { my ($who, $when, $text) = (FetchSQLData()); 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"; } $result .= $text; @@ -772,6 +772,7 @@ sub GetLongDescriptionAsHTML { SendSQL($query); while (MoreSQLData()) { my ($who, $email, $when, $text) = (FetchSQLData()); + $email .= Param('emailsuffix'); if ($count) { $result .= "

------- Additional Comments From "; if ($who) { diff --git a/mozilla/webtools/bugzilla/processmail b/mozilla/webtools/bugzilla/processmail index d96a6f96ef1..c919b7acccb 100755 --- a/mozilla/webtools/bugzilla/processmail +++ b/mozilla/webtools/bugzilla/processmail @@ -402,7 +402,7 @@ sub NewProcessOneBug { my ($who, $what, $when, $old, $new) = (@$ref); if ($who ne $lastwho) { $lastwho = $who; - $difftext .= "\n$who changed:\n\n"; + $difftext .= "\n$who" . Param('emailsuffix') . " changed:\n\n"; $difftext .= FormatTriple("What ", "Old Value", "New Value"); $difftext .= ('-' x 76) . "\n"; } @@ -570,6 +570,8 @@ sub NewProcessOnePerson ($$\@\%\%\%$$$$) { my $isnew = ($start !~ m/[1-9]/); my %substs; + + $person .= Param('emailsuffix'); $substs{"neworchanged"} = $isnew ? "New" : "Changed"; $substs{"to"} = $person; $substs{"cc"} = '';