summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
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 /extensions/BMO
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 'extensions/BMO')
-rw-r--r--extensions/BMO/Extension.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 3fa547d7a..34e346a24 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -2203,8 +2203,9 @@ sub enter_bug_entrydefaultvars {
my ($self, $args) = @_;
my $vars = $args->{vars};
my $cgi = Bugzilla->cgi;
+ return unless my $format = $cgi->param('format');
- if ($cgi->param('format') eq 'fxos-feature') {
+ if ($format eq 'fxos-feature') {
$vars->{feature_type} = $cgi->param('feature_type');
$vars->{description} = $cgi->param('description');
$vars->{discussion} = $cgi->param('discussion');