From dc091274be9c50dea4436cf3e14e7f1c3e551922 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 3 Oct 2013 13:22:53 -0400 Subject: [PATCH] Bug 7131 - QA Followup --- C4/ImportBatch.pm | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 3bf71e1..61d5b86 100644 --- a/C4/ImportBatch.pm +++ b/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 -- 1.7.2.5