From 52abf10f5c2d745491a168d1a5f1030368628b3f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 12 Oct 2007 04:07:22 +0000 Subject: Bug 313123: Implement $component->create and $component->update based on Object.pm - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- request.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'request.cgi') 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'); } -- cgit v1.2.3-24-g4f1b