]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365067: Flags set from the enter_bug page are not mentioned in email - Patch...
authorlpsolit%gmail.com <>
Thu, 28 Dec 2006 08:39:30 +0000 (08:39 +0000)
committerlpsolit%gmail.com <>
Thu, 28 Dec 2006 08:39:30 +0000 (08:39 +0000)
Bugzilla/BugMail.pm

index d6404f2ebd95a50884647831b301a3019b6b80e3..ca7e20b1e4848eb097f606cb399c44fbe294d904 100644 (file)
@@ -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);