summaryrefslogtreecommitdiffstats
path: root/describecomponents.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'describecomponents.cgi')
-rwxr-xr-xdescribecomponents.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/describecomponents.cgi b/describecomponents.cgi
index ec46b3d9d..bdb824b82 100755
--- a/describecomponents.cgi
+++ b/describecomponents.cgi
@@ -83,8 +83,8 @@ my $product = $::FORM{'product'};
my $product_id = get_product_id($product);
if (!$product_id) {
- $::vars->{'product'} = $product;
- ThrowUserError("invalid_product_name");
+ ThrowUserError("invalid_product_name",
+ { product => $product });
}
# Make sure the user is authorized to access this product.