From f6d96bd8ddbbcecb507039cf1a419fc53a572fea Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 8 Nov 2018 16:40:06 -0300 Subject: [PATCH] Bug 21413: Call AddBiblio in list context Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Items/GetItemsForInventory.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Items/GetItemsForInventory.t b/t/db_dependent/Items/GetItemsForInventory.t index af136dc465..39e0ae6696 100755 --- a/t/db_dependent/Items/GetItemsForInventory.t +++ b/t/db_dependent/Items/GetItemsForInventory.t @@ -252,7 +252,7 @@ sub create_helper_biblio { MARC::Field->new( '942', ' ', ' ', c => $itemtype ), ); - my $biblio_id = AddBiblio( $record, '' ); + my ($biblio_id) = AddBiblio( $record, '' ); return Koha::Biblios->find($biblio_id); } -- 2.19.1