From f31a0e66d3c01c4c2350fe94b17004d042b66c2e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 24 Mar 2014 10:11:47 +0100 Subject: [PATCH] Bug 10613: FIX QA issues This patch fixes the following QA issue: FAIL acqui/invoice.pl FAIL valid Useless use of private variable in void context Signed-off-by: Jacek Ablewicz --- acqui/invoice.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/acqui/invoice.pl b/acqui/invoice.pl index c59c490..95065c9 100755 --- a/acqui/invoice.pl +++ b/acqui/invoice.pl @@ -123,9 +123,8 @@ foreach my $order (@$orders) { $foot{$$line{gstgsti}}{totalgsti} += $$line{totalgsti}; $total_gsti += $$line{totalgsti}; - my %row = %{ $order, $line }; - $row{'orderline'} = $row{'parent_ordernumber'}; - push @orders_loop, \%row; + $line->{orderline} = $line->{parent_ordernumber}; + push @orders_loop, $line; } push @foot_loop, map {$_} values %foot; -- 1.7.10.4