From: lpsolit%gmail.com <> Date: Wed, 28 Feb 2007 22:42:22 +0000 (+0000) Subject: Bug 371808: 'emailsuffix' is duplicated on email notification - Patch by Frédéric... X-Git-Tag: bugzilla-3.0~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a61c67c1982d172819a6e7687291433e3d8dd796;p=thirdparty%2Fbugzilla.git Bug 371808: 'emailsuffix' is duplicated on email notification - Patch by Frédéric Buclin r=wicked a=LpSolit --- diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index fa52464f83..8b6f7678bb 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -705,10 +705,9 @@ sub prepare_comments { if ($count) { $result .= "\n\n--- Comment #$count from "; if ($comment->{'name'} eq $comment->{'email'}) { - $result .= $comment->{'email'} . Bugzilla->params->{'emailsuffix'}; + $result .= $comment->{'email'}; } else { - $result .= $comment->{'name'} . " <" . $comment->{'email'} . - Bugzilla->params->{'emailsuffix'} . ">"; + $result .= $comment->{'name'} . " <" . $comment->{'email'} . ">"; } $result .= " " . format_time($comment->{'time'}) . " ---\n"; }