Browse Source

Bug 7131: (follow-up) initialized some variables properly

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
3.14.x
Kyle Hall 11 years ago
committed by Galen Charlton
parent
commit
d65266eb84
  1. 5
      C4/ImportBatch.pm

5
C4/ImportBatch.pm

@ -688,7 +688,10 @@ sub BatchCommitItems {
my $dbh = C4::Context->dbh;
my ( $num_items_added, $num_items_errored, $num_items_replaced ) = 0;
my $num_items_added = 0;
my $num_items_errored = 0;
my $num_items_replaced = 0;
my $sth = $dbh->prepare( "
SELECT import_items_id, import_items.marcxml, encoding
FROM import_items

Loading…
Cancel
Save