diff --git a/webtools/bugzilla/Bugzilla/BugMail.pm b/webtools/bugzilla/Bugzilla/BugMail.pm index d6404f2ebd9..ca7e20b1e48 100644 --- a/webtools/bugzilla/Bugzilla/BugMail.pm +++ b/webtools/bugzilla/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);