diff options
author | Byron Jones <glob@mozilla.com> | 2015-08-03 07:40:22 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-08-03 07:40:22 +0200 |
commit | 0565d657ea0021c160f9ec0806455e9ea7465dc9 (patch) | |
tree | aec57c29479478ccd4cafd39acd90e9a3e12ea09 /extensions/BMO | |
parent | d7208303b8e0d025490f338241b2abb24dc5f1f4 (diff) | |
download | bugzilla-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.pm | 3 |
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'); |