summaryrefslogtreecommitdiffstats
path: root/Bugzilla/BugMail.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-28 09:39:30 +0100
committerlpsolit%gmail.com <>2006-12-28 09:39:30 +0100
commit7205db47e4fb792e7478b4587f8e86b7471a99bf (patch)
treeed7707f27b3188120d972d80cd96fdca657edb6d /Bugzilla/BugMail.pm
parent3cd13acb1c9f6c34ffd025151d04ec3a58f3536c (diff)
downloadbugzilla-7205db47e4fb792e7478b4587f8e86b7471a99bf.tar.gz
bugzilla-7205db47e4fb792e7478b4587f8e86b7471a99bf.tar.xz
Bug 365067: Flags set from the enter_bug page are not mentioned in email - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=justdave
Diffstat (limited to 'Bugzilla/BugMail.pm')
-rw-r--r--Bugzilla/BugMail.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index d6404f2eb..ca7e20b1e 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -590,11 +590,9 @@ sub sendMail {
$newcomments =~ s/(Created an attachment \(id=([0-9]+)\))/$1\n --> \(${showattachurlbase}$2\)/g;
}
- my $diffs;
+ my $diffs = $difftext . "\n\n" . $newcomments;
if ($isnew) {
- $diffs = $head . "\n\n" . $newcomments;
- } else {
- $diffs = $difftext . "\n\n" . $newcomments;
+ $diffs = $head . "\n\n" . $diffs;
}
my (@reasons, @reasons_watch);