From 46394b00218f565c7d0f2540b2df67aa09e94727 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' Signed-off-by: Jonathan Druart --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl index 52dd4bacb3..8c7b1636a9 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.39.5