]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365443 - "Bugmail for new bugs without flags contains two unneeded lines" [p...
authorreed%reedloden.com <>
Thu, 11 Jan 2007 00:21:00 +0000 (00:21 +0000)
committerreed%reedloden.com <>
Thu, 11 Jan 2007 00:21:00 +0000 (00:21 +0000)
Bugzilla/BugMail.pm

index 9b70da03e5608d833abbfde26be61d9ceaabe38a..a4462b7ba5995c522385689a960cdda931d2bf72 100644 (file)
@@ -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);