From 66514d9dc9af8a6ad00962df54c4167791bb9fef 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 6e51e824ad5..ced881e5320 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -572,7 +572,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