From 442ce6efd3c8b9072726531740ee8877784b071f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 27 Dec 2006 15:37:20 +0000 Subject: =?UTF-8?q?Bug=20365064:=20describecomponents.cgi=20returns=20no?= =?UTF-8?q?=20data=20when=20no=20product=20name=20is=20given=20-=20Patch?= =?UTF-8?q?=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r/a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- describecomponents.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'describecomponents.cgi') 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 -- cgit v1.2.1