From 3d62229305843117ccf3ea065aefd6f55c5a0349 Mon Sep 17 00:00:00 2001
From: Agustin Moyano <agustinmoyano@theke.io>
Date: Fri, 26 Apr 2019 14:32:27 -0300
Subject: [PATCH] Bug 22284: (follow-up) fixes after 15496

---
 Koha/Biblio.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm
index ff5aac8fa1..3d1d8a1127 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