From 6873f24e9f0eceec6e5725f3e327c51cadd26b27 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 13 Oct 2017 09:16:29 +0200 Subject: [PATCH] Bug 19425: (QA Follow-up) Resolve 'push on reference experimental' warn Content-Type: text/plain; charset=utf-8 QA tools reported for acqui/addorderiso2709.pl FAIL valid: push on reference is experimental Signed-off-by: Marcel de Rooy --- acqui/addorderiso2709.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl index 0c7bdce..558846e 100755 --- a/acqui/addorderiso2709.pl +++ b/acqui/addorderiso2709.pl @@ -246,7 +246,7 @@ if ($op eq ""){ $budget_hash->{$budget_codes[$i]}->{quantity} += 1; $budget_hash->{$budget_codes[$i]}->{price} = $itemprices[$i]; $budget_hash->{$budget_codes[$i]}->{itemnumbers} //= []; - push( $budget_hash->{$budget_codes[$i]}->{itemnumbers}, $itemnumbers[$i] ); + push @{ $budget_hash->{$budget_codes[$i]}->{itemnumbers} }, $itemnumbers[$i]; } # Create orderlines from MarcItemFieldsToOrder -- 2.1.4