X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9c6cbe0f635250fddac4d7f75c24995e4bf9831d..cd69ad3d3edf8adcf332e3c19f8f16dd08f800c6:/SL/Controller/DownloadZip.pm diff --git a/SL/Controller/DownloadZip.pm b/SL/Controller/DownloadZip.pm index 57c436a2f..0e60896b1 100644 --- 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, );