diff options
Diffstat (limited to 'enter_bug.cgi')
-rwxr-xr-x | enter_bug.cgi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/enter_bug.cgi b/enter_bug.cgi index e2772ccec..569d9554c 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -334,10 +334,7 @@ GetVersionTable(); my $product_id = get_product_id($product); -if (0 == @{$::components{$product}}) { - ThrowUserError("no_components", {product => $product}); -} -elsif (1 == @{$::components{$product}}) { +if (1 == @{$::components{$product}}) { # Only one component; just pick it. $cgi->param('component', $::components{$product}->[0]); } |