diff options
Diffstat (limited to 'xt/lib')
-rw-r--r-- | xt/lib/Bugzilla/Test/Search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xt/lib/Bugzilla/Test/Search.pm b/xt/lib/Bugzilla/Test/Search.pm index af595e373..87df927ca 100644 --- a/xt/lib/Bugzilla/Test/Search.pm +++ b/xt/lib/Bugzilla/Test/Search.pm @@ -147,7 +147,7 @@ sub all_fields { my $self = shift; if (not $self->{all_fields}) { $self->_create_custom_fields(); - my @fields = Bugzilla->get_fields; + my @fields = @{ Bugzilla->fields }; @fields = sort { $a->name cmp $b->name } @fields; $self->{all_fields} = \@fields; } |