diff options
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-x | editcomponents.cgi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi index 096570d82..5b5333e31 100755 --- a/editcomponents.cgi +++ b/editcomponents.cgi @@ -92,12 +92,9 @@ my $product = Bugzilla::Product::check_product($product_name); unless ($action) { - my @components = - Bugzilla::Component::get_components_by_product($product->id); - $vars->{'showbugcounts'} = $showbugcounts; $vars->{'product'} = $product->name; - $vars->{'components'} = \@components; + $vars->{'components'} = $product->components; $template->process("admin/components/list.html.tmpl", $vars) || ThrowTemplateError($template->error()); |