summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-08-03 07:40:22 +0200
committerByron Jones <glob@mozilla.com>2015-08-03 07:40:22 +0200
commit0565d657ea0021c160f9ec0806455e9ea7465dc9 (patch)
treeaec57c29479478ccd4cafd39acd90e9a3e12ea09 /post_bug.cgi
parentd7208303b8e0d025490f338241b2abb24dc5f1f4 (diff)
downloadbugzilla-0565d657ea0021c160f9ec0806455e9ea7465dc9.tar.gz
bugzilla-0565d657ea0021c160f9ec0806455e9ea7465dc9.tar.xz
Bug 1190255 - modal UI is used immediately after bug creation, even if preferenced off
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index ecfb5fdaf..46596fddc 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -275,6 +275,10 @@ $vars->{sentmail} = \@all_mail_results;
$format = $template->get_format("bug/create/created",
scalar($cgi->param('created-format')),
"html");
+
+# don't leak the enter_bug format param to show_bug
+$cgi->delete('format');
+
print $cgi->header();
$template->process($format->{'template'}, $vars)
|| ThrowTemplateError($template->error());