projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae71699
)
speak better perlish for last commit
author
Jan Büren
<jan@kivitendo-premium.de>
Mon, 30 Nov 2015 14:45:57 +0000
(15:45 +0100)
committer
Jan Büren
<jan@kivitendo-premium.de>
Mon, 30 Nov 2015 14:45:57 +0000
(15:45 +0100)
bin/mozilla/do.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/do.pl
b/bin/mozilla/do.pl
index
55c37ad
..
c549408
100644
(file)
--- 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);