diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/BMO/Extension.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index 5f236dea4..c32da77c5 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -995,6 +995,14 @@ sub enter_bug_start { } elsif (my $format = forced_format($cgi->param('product'))) { $cgi->param('format', $format); } + + # If product eq 'mozilla.org' and format eq 'itrequest', then + # switch to the new 'Infrastructure & Operations' product. + if ($cgi->param('product') && $cgi->param('product') eq 'mozilla.org' + && $cgi->param('format') && $cgi->param('format') eq 'itrequest') + { + $cgi->param('product', 'Infrastructure & Operations'); + } } sub forced_format { |