diff options
author | Byron Jones <bjones@mozilla.com> | 2013-05-06 09:10:43 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-05-06 09:10:43 +0200 |
commit | 4e48fa926e70947c95b61a6601087200c105faf9 (patch) | |
tree | 90bbc6c105360d836a92eda2e2660f135d96c499 /extensions/BMO | |
parent | 3cf96e72e7485278bf3d51719e935b73af04fdf4 (diff) | |
download | bugzilla-4e48fa926e70947c95b61a6601087200c105faf9.tar.gz bugzilla-4e48fa926e70947c95b61a6601087200c105faf9.tar.xz |
Bug 868915: guided bug entry's guided_products.js throws ISE when a product is missing
Diffstat (limited to 'extensions/BMO')
-rw-r--r-- | extensions/BMO/Extension.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm index af5ae526e..07f8357f1 100644 --- a/extensions/BMO/Extension.pm +++ b/extensions/BMO/Extension.pm @@ -1049,6 +1049,7 @@ sub forced_format { # always work on the correct product name $product = Bugzilla::Product->new({ name => $product, cache => 1 }) unless blessed($product); + return undef unless $product; # check for a forced-format entry my $forced = $create_bug_formats{$product->name} |