From 370d6c9200c4ce08edaf5ec43cdcaa142d083066 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 20 Dec 2013 09:14:58 -0500 Subject: [PATCH] Revert "Bug 9046: FIX wrong test on an arrayref instead of an array" This reverts commit 78474a0e99021d3d9e3a1bdc1a3cc3b59ab37b86. --- C4/Biblio.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 093fdafcd5..b0d277ae3f 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -2853,7 +2853,6 @@ sub EmbedItemsInMarcBiblio { my @item_fields; my ( $itemtag, $itemsubfield ) = GetMarcFromKohaField( "items.itemnumber", $frameworkcode ); while (my ($itemnumber) = $sth->fetchrow_array) { - next if @$itemnumbers and not grep { $_ == $itemnumber } @$itemnumbers; require C4::Items; my $item_marc = C4::Items::GetMarcItem($biblionumber, $itemnumber); push @item_fields, $item_marc->field($itemtag); -- 2.39.5