mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 365064: describecomponents.cgi returns no data when no product name is given - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r/a=justdave
This commit is contained in:
parent
ca41a63f26
commit
467e5394e2
@ -55,7 +55,7 @@ unless ($product && $user->can_enter_product($product->name)) {
|
||||
# product only, to not confuse the user with components of a
|
||||
# product he didn't request.
|
||||
elsif (scalar(@products) > 1 || $product_name) {
|
||||
$vars->{'products'} = \@products;
|
||||
$vars->{'classifications'} = [{object => undef, products => \@products}];
|
||||
$vars->{'target'} = "describecomponents.cgi";
|
||||
# If an invalid product name is given, or the user is not
|
||||
# allowed to access that product, a message is displayed
|
||||
|
Loading…
Reference in New Issue
Block a user