]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 510798: Omit "--- Comment 0" line for new bugs - Patch by Frédéric Buclin ...
authorlpsolit%gmail.com <>
Tue, 25 Aug 2009 17:54:33 +0000 (17:54 +0000)
committerlpsolit%gmail.com <>
Tue, 25 Aug 2009 17:54:33 +0000 (17:54 +0000)
template/en/default/email/newchangedmail.txt.tmpl

index b90c15b1d2ada28f4c4315d2ec26647b14c5085e..ab614c1da20cd555ae5d8d1aaf2665867f3d6e23 100644 (file)
@@ -47,7 +47,9 @@ X-Bugzilla-Changed-Fields: [% changedfields %]
 [% END -%]
 [% FOREACH comment = new_comments %]
 
+[%- IF comment.count %]
 --- Comment #[% comment.count %] from [% comment.author.identity %] [%+ comment.time FILTER time %] ---
+[% END %]
 [%+ PROCESS bug/format_comment.txt.tmpl comment = comment %]
 [% END %]