From 85e75aba6a7131da9d63b1f628a27e986bb428c5 Mon Sep 17 00:00:00 2001 From: Tiago Mello Date: Tue, 24 Aug 2010 17:25:49 -0300 Subject: Bug 586871: Convert all Bugzilla->get_fields calls to Bugzilla->fields r/a=mkanat --- editvalues.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editvalues.cgi') diff --git a/editvalues.cgi b/editvalues.cgi index 3f08a1671..53ea78512 100755 --- a/editvalues.cgi +++ b/editvalues.cgi @@ -75,8 +75,8 @@ my $token = $cgi->param('token'); # field = '' -> Show nice list of fields # if (!$cgi->param('field')) { - my @field_list = grep { !$_->is_abnormal } - Bugzilla->get_fields({ is_select => 1 }); + my @field_list = + @{ Bugzilla->fields({ is_select => 1, is_abnormal => 0 }) }; $vars->{'fields'} = \@field_list; $template->process("admin/fieldvalues/select-field.html.tmpl", $vars) -- cgit v1.2.1