Commit dd9c3652 authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 546867: Prevent email_in.pl from throwing a cryptic error on receiving

an invalid email r=LpSolit, a=LpSolit
parent 1237c19f
......@@ -157,6 +157,7 @@ sub post_bug {
# Restrict the bug to groups marked as Default.
# We let Bug->create throw an error if the product is
# not accessible, to throw the correct message.
$fields->{product} = '' if !defined $fields->{product};
my $product = new Bugzilla::Product({ name => $fields->{product} });
if ($product) {
my @gids;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment