summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search/Quicksearch.pm
diff options
context:
space:
mode:
authorTiago Mello <timello@gmail.com>2010-08-24 22:25:49 +0200
committerTiago Mello <timello@gmail.com>2010-08-24 22:25:49 +0200
commit85e75aba6a7131da9d63b1f628a27e986bb428c5 (patch)
tree62ea9dab6305ba21a67b1904523435365b53aae5 /Bugzilla/Search/Quicksearch.pm
parente09c48b2f7668071264c975f9191cf41b493ef1c (diff)
downloadbugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.tar.gz
bugzilla-85e75aba6a7131da9d63b1f628a27e986bb428c5.tar.xz
Bug 586871: Convert all Bugzilla->get_fields calls to Bugzilla->fields
r/a=mkanat
Diffstat (limited to 'Bugzilla/Search/Quicksearch.pm')
-rw-r--r--Bugzilla/Search/Quicksearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search/Quicksearch.pm b/Bugzilla/Search/Quicksearch.pm
index b96dd3d4d..602b78af0 100644
--- a/Bugzilla/Search/Quicksearch.pm
+++ b/Bugzilla/Search/Quicksearch.pm
@@ -80,7 +80,7 @@ sub FIELD_MAP {
# Get all the fields whose names don't contain periods. (Fields that
# contain periods are always handled in MAPPINGS.)
my @db_fields = grep { $_->name !~ /\./ }
- Bugzilla->get_fields({ obsolete => 0 });
+ @{ Bugzilla->fields({ obsolete => 0 }) };
my %full_map = (%{ MAPPINGS() }, map { $_->name => $_->name } @db_fields);
# Eliminate the fields that start with bug_ or rep_, because those are