From cd69ad3d3edf8adcf332e3c19f8f16dd08f800c6 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 28 Feb 2017 09:55:15 +0100 Subject: [PATCH] =?utf8?q?Dateimanagement:=20=C3=BCberfl=C3=BCssigen=20Cod?= =?utf8?q?e=20in=20SL::Controller::DownloadZip=20entfernt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/DownloadZip.pm | 3 --- 1 file changed, 3 deletions(-) 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, ); -- 2.20.1