diff options
Diffstat (limited to 'editvalues.cgi')
-rwxr-xr-x | editvalues.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
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) |