From bc040aab7fd89c27cfb396f0577b9b757ea05312 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 13 Feb 2008 03:13:07 +0000 Subject: Bug 416481: No bugmail is sent if no comment is added on bug creation - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugzilla/BugMail.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/BugMail.pm') diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index 13f25b5b4..2f132e2de 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -605,7 +605,7 @@ sub sendMail { } } - if ($difftext eq "" && $newcomments eq "") { + if ($difftext eq "" && $newcomments eq "" && !$isnew) { # Whoops, no differences! return 0; } -- cgit v1.2.3-24-g4f1b