From: reed%reedloden.com <> Date: Thu, 11 Jan 2007 00:21:00 +0000 (+0000) Subject: Bug 365443 - "Bugmail for new bugs without flags contains two unneeded lines" [p... X-Git-Tag: bugzilla-2.23.4~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b5aec426907bcece47e654b4ef8162f3064861c;p=thirdparty%2Fbugzilla.git Bug 365443 - "Bugmail for new bugs without flags contains two unneeded lines" [p=reed r=LpSolit a=LpSolit] --- diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 9b70da03e5..a4462b7ba5 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);