summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-02-28 23:40:47 +0100
committerlpsolit%gmail.com <>2007-02-28 23:40:47 +0100
commit686b89edc4f05efdce9c11fd9fc3d89e992c301d (patch)
tree11e291a13a3ed31d21b5472cdafcfd4c6ae236dd /Bugzilla/BugMail.pm
parente4bb080df93feb9751079a931f10b25cd8f66961 (diff)
downloadbugzilla-686b89edc4f05efdce9c11fd9fc3d89e992c301d.tar.gz
bugzilla-686b89edc4f05efdce9c11fd9fc3d89e992c301d.tar.xz
Bug 371808: 'emailsuffix' is duplicated on email notification - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wicked a=LpSolit
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 79033dbbe..acc12556d 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";
}