From: Jan Büren Date: Mon, 30 Nov 2015 14:45:57 +0000 (+0100) Subject: speak better perlish for last commit X-Git-Tag: release-3.4.1~564 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e26049cadd957ea0baffd783a87e7051cc45d269;p=kivitendo-erp.git speak better perlish for last commit --- diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index 55c37adef..c54940826 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -1737,9 +1737,7 @@ sub transfer_in_out_default { undef (@all_requests); foreach my $i (1 .. $form->{rowcount}) { next unless ($form->{"id_$i"} && $form->{"stock_${prefix}_$i"}); - foreach my $request (@{ DO->unpack_stock_information('packed' => $form->{"stock_${prefix}_$i"}) }) { - push @all_requests, $request; - } + push @all_requests, @{ DO->unpack_stock_information('packed' => $form->{"stock_${prefix}_$i"}) }; } DO->transfer_in_out('direction' => $prefix, 'requests' => \@all_requests);