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

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Kyle M Hall 2013-10-03 13:22:53 -04:00 committed by Galen Charlton
parent 805bec0a65
commit d65266eb84
1 changed files with 4 additions and 1 deletions

View File

@ -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