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 --- report.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'report.cgi') diff --git a/report.cgi b/report.cgi index dd5a0bb15..d3751aa67 100755 --- a/report.cgi +++ b/report.cgi @@ -319,7 +319,7 @@ sub get_names { # These are all the fields we want to preserve the order of in reports. my %fields; - my @select_fields = Bugzilla->get_fields({ is_select => 1 }); + my @select_fields = @{ Bugzilla->fields({ is_select => 1 }) }; foreach my $field (@select_fields) { my @names = map($_->name, @{$field->legal_values}); unshift @names, ' ' if $field->name eq 'resolution'; -- cgit v1.2.3-24-g4f1b