aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-02-23 21:41:47 +0100
committerChristian Ruppert <idl0r@gentoo.org>2012-02-23 21:41:47 +0100
commit37a663a5b9827c6cd4ed2c26a61564ea98d078b4 (patch)
tree22071cc4a70210a1aa29a701c37b22293cfae283 /editvalues.cgi
parentBump to 4.0.4 (diff)
downloadbugzilla-37a663a5b9827c6cd4ed2c26a61564ea98d078b4.tar.gz
bugzilla-37a663a5b9827c6cd4ed2c26a61564ea98d078b4.tar.bz2
bugzilla-37a663a5b9827c6cd4ed2c26a61564ea98d078b4.zip
Update to 4.2.
Diffstat (limited to 'editvalues.cgi')
-rwxr-xr-xeditvalues.cgi4
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)