summaryrefslogtreecommitdiffstats
path: root/request.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'request.cgi')
-rwxr-xr-xrequest.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/request.cgi b/request.cgi
index 886302d56..186b42e1c 100755
--- a/request.cgi
+++ b/request.cgi
@@ -196,8 +196,8 @@ sub queue {
push(@criteria, "bugs.product_id = " . $product->id);
push(@excluded_columns, 'product') unless $cgi->param('do_union');
if (defined $cgi->param('component') && $cgi->param('component') ne "") {
- my $component =
- Bugzilla::Component::check_component($product, scalar $cgi->param('component'));
+ my $component = Bugzilla::Component->check({ product => $product,
+ name => scalar $cgi->param('component') });
push(@criteria, "bugs.component_id = " . $component->id);
push(@excluded_columns, 'component') unless $cgi->param('do_union');
}