From: lpsolit%gmail.com <> Date: Wed, 28 Feb 2007 22:40:47 +0000 (+0000) Subject: Bug 371808: 'emailsuffix' is duplicated on email notification - Patch by Frédéric... X-Git-Tag: bugzilla-3.1.2~324 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=686b89edc4f05efdce9c11fd9fc3d89e992c301d;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 79033dbbe3..acc12556d1 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'}) { - $result .= $comment->{'name'} . " <" . $comment->{'email'} . - Bugzilla->params->{'emailsuffix'} . ">"; + $result .= $comment->{'name'} . " <" . $comment->{'email'} . ">"; } else { - $result .= $comment->{'email'} . Bugzilla->params->{'emailsuffix'}; + $result .= $comment->{'email'}; } $result .= " " . format_time($comment->{'time'}) . " ---\n"; }