diff options
author | 2010-08-24 17:25:49 -0300 | |
---|---|---|
committer | 2010-08-24 17:25:49 -0300 | |
commit | 85e75aba6a7131da9d63b1f628a27e986bb428c5 (patch) | |
tree | 62ea9dab6305ba21a67b1904523435365b53aae5 /editvalues.cgi | |
parent | Bug 589860: Remove sidebar.cgi, because remote XUL support is going away in G... (diff) | |
download | bugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.tar.gz bugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.tar.bz2 bugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.zip |
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) |