diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 4101a5745a..d0f4c7d928 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -790,7 +790,7 @@ sub BatchCommitItems { $num_items_replaced++; } elsif ($duplicate_barcode) { $updsth->bind_param( 1, 'error' ); - $updsth->bind_param( 2, 'duplicate item barcode' ); + $updsth->bind_param( 2, undef ); $updsth->bind_param( 3, $row->{'import_items_id'} ); $updsth->execute(); $num_items_errored++;