diff options
author | Perl Tidy <perltidy@bugzilla.org> | 2019-01-31 20:50:06 -0500 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2019-01-31 21:02:46 -0500 |
commit | f91e240aac65936bc9dee0f926cd6f1021f48fe0 (patch) | |
tree | 596aa9893d4526e646b9a64fd6c65706c8dd3340 /editproducts.cgi | |
parent | add perl-fmt script (diff) | |
download | bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.gz bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.bz2 bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.zip |
no bug - perltidy again, using the latest release
blame jeff
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-x | editproducts.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editproducts.cgi b/editproducts.cgi index 205269a61..f98225e6f 100755 --- a/editproducts.cgi +++ b/editproducts.cgi @@ -69,7 +69,7 @@ if ( Bugzilla->params->{'useclassification'} else { # Only keep classifications containing at least one product # which you can administer. - my $products = $user->get_products_by_permission('editcomponents'); + my $products = $user->get_products_by_permission('editcomponents'); my %class_ids = map { $_->classification_id => 1 } @$products; $class = Bugzilla::Classification->new_from_list([keys %class_ids]); } @@ -107,7 +107,7 @@ if (!$action && !$product_name) { @$products = grep { $_->classification_id == $classification->id } @$products; } } - $vars->{'products'} = $products; + $vars->{'products'} = $products; $vars->{'showbugcounts'} = $cgi->param('showbugcounts') ? 1 : 0; $template->process("admin/products/list.html.tmpl", $vars) @@ -298,7 +298,7 @@ if ($action eq 'edit' || (!$action && $product_name)) { if ($action eq 'update') { check_token_data($token, 'edit_product'); my $product_old_name = trim($cgi->param('product_old_name') || ''); - my $product = $user->check_can_admin_product($product_old_name); + my $product = $user->check_can_admin_product($product_old_name); $product->set_all({ name => $product_name, |