From 342b42e909e03e9d5d963e5b47e8e01257442093 Mon Sep 17 00:00:00 2001 From: David Gustafsson Date: Wed, 12 Dec 2018 14:00:37 +0100 Subject: [PATCH] Bug 19884: Pass items as arrayref when passed as named argument --- C4/Biblio.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 0306dc4722..a5efb3c7fc 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -2974,7 +2974,7 @@ sub EmbedItemsInMarcBiblios { # Flag indicating if there is potential hiding if ($opachiddenitems) { my %hidden_items = map { $_ => undef } C4::Items::GetHiddenItemnumbers({ - items => @{$items}, + items => $items, borcat => $borcat }); # Reduce items to non hidden items -- 2.11.0