summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BMO/Extension.pm1
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}