Bug 546867: Prevent email_in.pl from throwing a cryptic error on receiving
an invalid email r=LpSolit, a=LpSolit git-svn-id: svn://10.0.0.236/branches/BUGZILLA-3_6-BRANCH@259772 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5594e3936a
commit
8aedcfc0cc
@ -1 +1 @@
|
||||
6989
|
||||
6990
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user