summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2014-10-27 16:22:00 +0100
committerDylan William Hardison <dylan@hardison.net>2014-10-27 16:22:00 +0100
commit713077faaf9c0dde1e1f6e5e5d510723287ee193 (patch)
tree59610843c21fa01d137e4778749303f2caa25e6d /extensions/GuidedBugEntry
parent7afb631c9c4893a554f1ecd395f1ffbae3413cb8 (diff)
downloadbugzilla-713077faaf9c0dde1e1f6e5e5d510723287ee193.tar.gz
bugzilla-713077faaf9c0dde1e1f6e5e5d510723287ee193.tar.xz
Bug 1088711 - New bugzilla users are unable to user bug templates
r=dkl
Diffstat (limited to 'extensions/GuidedBugEntry')
-rw-r--r--extensions/GuidedBugEntry/Extension.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/GuidedBugEntry/Extension.pm b/extensions/GuidedBugEntry/Extension.pm
index 127a93a8e..19ac7385e 100644
--- a/extensions/GuidedBugEntry/Extension.pm
+++ b/extensions/GuidedBugEntry/Extension.pm
@@ -30,6 +30,10 @@ sub enter_bug_start {
# force guided format for new users
my $format = $cgi->param('format') || '';
+ if ($cgi->param('maketemplate')) {
+ $format = '__default__';
+ }
+
if (
$format eq 'guided' ||
(