summaryrefslogtreecommitdiffstats
path: root/describecomponents.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-12-27 16:37:20 +0100
committerlpsolit%gmail.com <>2006-12-27 16:37:20 +0100
commit442ce6efd3c8b9072726531740ee8877784b071f (patch)
tree7218f6b00e8ca0c48abab4007e7c43885357908f /describecomponents.cgi
parent27c4d18f69e135ff72f2b93b4fb2a06853c78545 (diff)
downloadbugzilla-442ce6efd3c8b9072726531740ee8877784b071f.tar.gz
bugzilla-442ce6efd3c8b9072726531740ee8877784b071f.tar.xz
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
Diffstat (limited to 'describecomponents.cgi')
-rwxr-xr-xdescribecomponents.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi
index d42979d0b..b282040c5 100755
--- a/describecomponents.cgi
+++ b/describecomponents.cgi
@@ -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