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 --- Bugzilla/Search/Quicksearch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Search') 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 -- cgit v1.2.3-24-g4f1b