From 7906d1a709fb0ba27e662134e27d1a6f6d8aad7d Mon Sep 17 00:00:00 2001 From: Agustin Moyano Date: Fri, 26 Apr 2019 14:32:27 -0300 Subject: [PATCH] Bug 22284: (follow-up) fixes after 15496 Signed-off-by: Josef Moravec --- Koha/Biblio.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 80953cd011..6ef912c0e0 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -204,7 +204,7 @@ sub pickup_locations { my $patron = $params->{patron}; my @pickup_locations; - foreach my $item_of_bib ($self->items) { + foreach my $item_of_bib ($self->items->as_list) { push @pickup_locations, $item_of_bib->pickup_locations( {patron => $patron} ); } -- 2.11.0