summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreed%reedloden.com <>2007-01-11 01:21:00 +0100
committerreed%reedloden.com <>2007-01-11 01:21:00 +0100
commit1b5aec426907bcece47e654b4ef8162f3064861c (patch)
tree7fc29a90fa2006eed52df5fc33c854290113a9bf
parented06de9de3117f8894872495e973ff812212ff91 (diff)
downloadbugzilla-1b5aec426907bcece47e654b4ef8162f3064861c.tar.gz
bugzilla-1b5aec426907bcece47e654b4ef8162f3064861c.tar.xz
Bug 365443 - "Bugmail for new bugs without flags contains two unneeded lines" [p=reed r=LpSolit a=LpSolit]
-rw-r--r--Bugzilla/BugMail.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm
index 9b70da03e..a4462b7ba 100644
--- a/Bugzilla/BugMail.pm
+++ b/Bugzilla/BugMail.pm
@@ -591,7 +591,7 @@ sub sendMail {
my $diffs = $difftext . "\n\n" . $newcomments;
if ($isnew) {
- $diffs = $head . "\n\n" . $diffs;
+ $diffs = $head . ($difftext ? "\n\n" : "") . $diffs;
}
my (@reasons, @reasons_watch);