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:
9c6cbe0
)
Dateimanagement: überflüssigen Code in SL::Controller::DownloadZip entfernt
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 08:55:15 +0000
(09:55 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:03:53 +0000
(10:03 +0100)
SL/Controller/DownloadZip.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/DownloadZip.pm
b/SL/Controller/DownloadZip.pm
index
57c436a
..
0e60896
100644
(file)
--- a/
SL/Controller/DownloadZip.pm
+++ b/
SL/Controller/DownloadZip.pm
@@
-48,10
+48,7
@@
sub action_download_orderitems_files {
my $orderitems = SL::DB::Manager::OrderItem->get_all(query => ['order.id' => $object_id ],
with_objects => [ 'order', 'part' ],
sort_by => 'part.partnumber ASC');
- my $part_id = 0;
foreach my $item ( @{$orderitems} ) {
- next if $part_id == $item->parts_id;
-
my @files = SL::File->get_all(object_id => $item->parts_id,
object_type => $element_type,
);