]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 365064: describecomponents.cgi returns no data when no product name is given...
authorlpsolit%gmail.com <>
Wed, 27 Dec 2006 15:37:20 +0000 (15:37 +0000)
committerlpsolit%gmail.com <>
Wed, 27 Dec 2006 15:37:20 +0000 (15:37 +0000)
describecomponents.cgi

index d42979d0ba15aeccf16a4af83bf2394c1f86e1fc..b282040c5087a861ef1af8899b4d2de6d396c6bf 100755 (executable)
@@ -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