From: lpsolit%gmail.com <> Date: Thu, 1 Jan 2009 23:13:26 +0000 (+0000) Subject: Bug 332995: Steps to Reproduce not removed from comment when user leaves default... X-Git-Tag: bugzilla-3.2.1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e102d3a2c3b601c3757994481a2f5b0ec31418f5;p=thirdparty%2Fbugzilla.git Bug 332995: Steps to Reproduce not removed from comment when user leaves default content (steps without blanks) - Patch by Teemu Mannermaa r/a=LpSolit --- diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl index 3ce7561038..df04d8fb55 100644 --- a/template/en/default/bug/create/comment-guided.txt.tmpl +++ b/template/en/default/bug/create/comment-guided.txt.tmpl @@ -36,7 +36,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 %]