From b259c4b4252cde8e7926690f6ba419d2ee7c59fc Mon Sep 17 00:00:00 2001 From: "bbaetz%acm.org" <> Date: Wed, 2 Apr 2003 20:35:00 +0000 Subject: Bug 199813 - Make all users of ThrowUserError pass $vars in explicitly. r=gerv a=justdave --- describecomponents.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'describecomponents.cgi') 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. -- cgit v1.2.3-24-g4f1b