Commit 686b89ed authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 371808: 'emailsuffix' is duplicated on email notification - Patch by…

Bug 371808: 'emailsuffix' is duplicated on email notification - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
parent e4bb080d
...@@ -705,10 +705,9 @@ sub prepare_comments { ...@@ -705,10 +705,9 @@ sub prepare_comments {
if ($count) { if ($count) {
$result .= "\n\n--- Comment #$count from "; $result .= "\n\n--- Comment #$count from ";
if ($comment->{'name'}) { if ($comment->{'name'}) {
$result .= $comment->{'name'} . " <" . $comment->{'email'} . $result .= $comment->{'name'} . " <" . $comment->{'email'} . ">";
Bugzilla->params->{'emailsuffix'} . ">";
} else { } else {
$result .= $comment->{'email'} . Bugzilla->params->{'emailsuffix'}; $result .= $comment->{'email'};
} }
$result .= " " . format_time($comment->{'time'}) . " ---\n"; $result .= " " . format_time($comment->{'time'}) . " ---\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