]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 369960 - "Ensure 'steps to reproduce' does not appear when there aren't any ...
authorreed%reedloden.com <>
Sun, 11 Feb 2007 05:23:59 +0000 (05:23 +0000)
committerreed%reedloden.com <>
Sun, 11 Feb 2007 05:23:59 +0000 (05:23 +0000)
template/en/default/bug/create/comment-guided.txt.tmpl

index 2d2182681c9123bee9e6abb650fa1bda74d888aa..23dec73cb89da5b9b3ae11bcba6c0de6273a59ab 100644 (file)
@@ -37,7 +37,7 @@ Build Identifier: [%+ cgi.param("buildid") %]
 Reproducible: [%+ cgi.param("reproducible") %]
 [% END %]
 
-[% IF !(cgi.param("reproduce_steps").match('^1\.\s+2\.\s+3\.\s+$') || cgi.param("reproduce_steps").match('^\s+$')) %]
+[% IF !(cgi.param("reproduce_steps").match('^1\.\s+2\.\s+3\.\s+$') || cgi.param("reproduce_steps").match('^\s*$')) %]
 Steps to Reproduce:
 [%+ cgi.param("reproduce_steps") %]
 [% END %]