@@ -, +, @@ --- cataloguing/additem.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/cataloguing/additem.pl +++ a/cataloguing/additem.pl @@ -456,7 +456,7 @@ if ($op eq "additem") { } # if autoBarcode is set to 'incremental', calculate barcode... - if ( not $item->barcode && C4::Context->preference('autoBarcode') eq 'incremental' ) { + if ( !$item->barcode && C4::Context->preference('autoBarcode') eq 'incremental' ) { my ( $barcode ) = C4::Barcodes::ValueBuilder::incremental::get_barcode; $item->barcode($barcode); } --