From 03e21ee609d40d48be50e815b6da4f1471f1a8af Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 13 Oct 2021 09:34:19 +0200 Subject: [PATCH] Bug 27526: Fix 'add & duplicate item' --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 52dd4bacb35..8c7b1636a90 100755 --- a/cataloguing/additem.pl +++ b/cataloguing/additem.pl @@ -465,7 +465,7 @@ if ($op eq "additem") { $item->barcode(barcodedecode($item->barcode)); # If we have to add or add & duplicate, we add the item - if ( $add_submit || $prefillitem) { + if ( $add_submit || $add_duplicate_submit || $prefillitem) { # check for item barcode # being unique if ( defined $item->barcode -- 2.25.1