summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/Extension.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/Extension.pm')
-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');