From e4e6bfc7e9b28950cf2b4a0483e05a1395bb7819 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 9 Jul 2021 10:03:26 +0200 Subject: [PATCH] Bug 27526: Fix Add multiple copies This has been moved to Koha::Item->store by bug 27545. --- cataloguing/additem.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index b53a01b6344..d7a3307806f 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -582,7 +582,6 @@ if ($op eq "additem") { { skip_record_index => 1 } ); $current_item->discard_changes; # Cannot chain discard_changes $current_item = $current_item->unblessed; - set_item_default_location($current_item->{itemnumber}); # We count the item only if it was really added # That way, all items are added, even if there was some already existing barcodes -- 2.20.1