From e53961b5f38fbbc28376cf2d0ec98dd7b1d6f7f3 Mon Sep 17 00:00:00 2001
From: Alex Buckley <alexbuckley@catalyst.net.nz>
Date: Thu, 16 Jan 2025 11:56:41 +1300
Subject: [PATCH] Remove passing frameworkcode to
 C4::Biblio->GetMarcFromKohaField()

Since bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19096 and
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19097 were
pushed to Koha the GetMarcFromKohaField() no longer accepts a
frameworkcode parameter.
---
 lib/NCIP/ILS/Koha.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/NCIP/ILS/Koha.pm b/lib/NCIP/ILS/Koha.pm
index 36a742a..5c4dc22 100644
--- a/lib/NCIP/ILS/Koha.pm
+++ b/lib/NCIP/ILS/Koha.pm
@@ -834,7 +834,7 @@ sub acceptitem {
     my $item_callnumber = $iteminfo->{itemcallnumber} || $config->{item_callnumber} || q{};
 
     my ( $field, $subfield ) =
-      GetMarcFromKohaField( 'biblioitems.itemtype', $frameworkcode );
+      GetMarcFromKohaField( 'biblioitems.itemtype' );
     ( $field, $subfield ) =
       GetMarcFromKohaField( 'biblioitems.itemtype' ) unless $field && $subfield;