From: reed%reedloden.com <> Date: Sun, 11 Feb 2007 05:23:59 +0000 (+0000) Subject: Bug 369960 - "Ensure 'steps to reproduce' does not appear when there aren't any ... X-Git-Tag: bugzilla-3.0rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d3addb3bf7dd8ee3abf634374cfa9815d791e4e;p=thirdparty%2Fbugzilla.git Bug 369960 - "Ensure 'steps to reproduce' does not appear when there aren't any (field is blanked out)" [p=justdave/reed r=bkor a=justdave] --- diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl index 2d2182681c..23dec73cb8 100644 --- a/template/en/default/bug/create/comment-guided.txt.tmpl +++ b/template/en/default/bug/create/comment-guided.txt.tmpl @@ -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 %]