diff options
author | Tiago Mello <timello@gmail.com> | 2010-08-24 22:25:49 +0200 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2010-08-24 22:25:49 +0200 |
commit | 85e75aba6a7131da9d63b1f628a27e986bb428c5 (patch) | |
tree | 62ea9dab6305ba21a67b1904523435365b53aae5 /editvalues.cgi | |
parent | e09c48b2f7668071264c975f9191cf41b493ef1c (diff) | |
download | bugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.tar.gz bugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.tar.xz |
Bug 586871: Convert all Bugzilla->get_fields calls to Bugzilla->fields
r/a=mkanat
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) |