summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);