From a1437dae8d175e4d6fe15ea10cfb5b6923f76c08 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 17 Apr 2020 10:42:21 +0200 Subject: [PATCH] Bug 23463: Remove double store call Signed-off-by: Martin Renvoize --- C4/Items.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Items.pm b/C4/Items.pm index 0f4bb96b3a..bbc5a7cd1f 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -300,7 +300,7 @@ sub ModItemFromMarc { $item->{biblionumber} = $biblionumber; $item_object = $item_object->set_or_blank($item); my $unlinked_item_subfields = _get_unlinked_item_subfields( $localitemmarc, $frameworkcode ); - $item_object->more_subfields_xml(_get_unlinked_subfields_xml($unlinked_item_subfields))->store; + $item_object->more_subfields_xml(_get_unlinked_subfields_xml($unlinked_item_subfields)); $item_object->store; return $item_object->unblessed; -- 2.39.5