diff options
author | lpsolit%gmail.com <> | 2007-10-12 04:07:22 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-10-12 04:07:22 +0000 |
commit | 52abf10f5c2d745491a168d1a5f1030368628b3f (patch) | |
tree | bb549302c2c56e329302d61022080a71fe915bd7 /request.cgi | |
parent | Bug 399461: Bugzilla::Hook::process() doesn't flush Bugzilla->hook_args() aft... (diff) | |
download | bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.tar.gz bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.tar.bz2 bugzilla-52abf10f5c2d745491a168d1a5f1030368628b3f.zip |
Bug 313123: Implement $component->create and $component->update based on Object.pm - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'request.cgi')
-rwxr-xr-x | request.cgi | 4 |
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'); } |