From 23992837c1ae9fd21ffe6dd9b2d5379132828450 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. Signed-off-by: Martin Renvoize --- cataloguing/additem.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index e3c23aa11e..aee9c1afaf 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -583,7 +583,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