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 /query.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 'query.cgi')
-rwxr-xr-x | query.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -225,7 +225,7 @@ $vars->{'bug_severity'} = Bugzilla::Field->new({name => 'bug_severity'})->legal_ $vars->{'resolution'} = Bugzilla::Field->new({name => 'resolution'})->legal_values; # Boolean charts -my @fields = Bugzilla->get_fields({ obsolete => 0 }); +my @fields = @{ Bugzilla->fields({ obsolete => 0 }) }; # If we're not in the time-tracking group, exclude time-tracking fields. if (!Bugzilla->user->is_timetracker) { |