From dffb8a687d10c79c6e23303582d243c396fa5944 Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Tue, 23 May 2017 11:03:04 +0000 Subject: [PATCH] [SIGNED-OFF] Bug 18611 - Followup, remove tabs to make qa tools happy Signed-off-by: Josef Moravec --- C4/ImportBatch.pm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 99d4bd7..4220cfa 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -1057,15 +1057,15 @@ sub GetImportBatchRangeDesc { =cut sub GetItemNumbersFromImportBatch { - my ($batch_id) = @_; - my $dbh = C4::Context->dbh; - my $sth = $dbh->prepare("SELECT items.itemnumber FROM import_batches,import_records,import_items, items WHERE import_batches.import_batch_id=import_records.import_batch_id AND import_records.import_record_id=import_items.import_record_id AND items.itemnumber=import_items.itemnumber AND import_batches.import_batch_id=?"); - $sth->execute($batch_id); - my @items ; - while ( my ($itm) = $sth->fetchrow_array ) { - push @items, $itm; - } - return @items; + my ($batch_id) = @_; + my $dbh = C4::Context->dbh; + my $sth = $dbh->prepare("SELECT items.itemnumber FROM import_batches,import_records,import_items, items WHERE import_batches.import_batch_id=import_records.import_batch_id AND import_records.import_record_id=import_items.import_record_id AND items.itemnumber=import_items.itemnumber AND import_batches.import_batch_id=?"); + $sth->execute($batch_id); + my @items ; + while ( my ($itm) = $sth->fetchrow_array ) { + push @items, $itm; + } + return @items; } =head2 GetNumberOfImportBatches -- 2.1.4