aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-04-02 20:35:00 +0000
committerbbaetz%acm.org <>2003-04-02 20:35:00 +0000
commitb259c4b4252cde8e7926690f6ba419d2ee7c59fc (patch)
treeae51804f9db83c0b1a49f79b9e0a1848cdd5e7c7 /describecomponents.cgi
parentBug 195424 - Add a note about new MySQL permissions needed for Bugzilla in My... (diff)
downloadbugzilla-b259c4b4252cde8e7926690f6ba419d2ee7c59fc.tar.gz
bugzilla-b259c4b4252cde8e7926690f6ba419d2ee7c59fc.tar.bz2
bugzilla-b259c4b4252cde8e7926690f6ba419d2ee7c59fc.zip
Bug 199813 - Make all users of ThrowUserError pass $vars in explicitly.
r=gerv a=justdave
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.