summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-01-02 00:11:59 +0100
committerlpsolit%gmail.com <>2009-01-02 00:11:59 +0100
commit435cf060b927b96d7806c9c3aadd15cb9db018a1 (patch)
tree9212c23c757c074da249e19c873e64bb95900d3b
parent70aabcf4f79b017328922a07766ddf3e260dffe5 (diff)
downloadbugzilla-435cf060b927b96d7806c9c3aadd15cb9db018a1.tar.gz
bugzilla-435cf060b927b96d7806c9c3aadd15cb9db018a1.tar.xz
Bug 332995: Steps to Reproduce not removed from comment when user leaves default content (steps without blanks) - Patch by Teemu Mannermaa <wicked@sci.fi> r/a=LpSolit
-rw-r--r--template/en/default/bug/create/comment-guided.txt.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/bug/create/comment-guided.txt.tmpl b/template/en/default/bug/create/comment-guided.txt.tmpl
index 3ce756103..df04d8fb5 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 %]