diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/BugMail.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index d6404f2eb..ca7e20b1e 100644 --- a/Bugzilla/BugMail.pm +++ b/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); |