From 31d8fef1efd5041374b5b00c40ede4d2b166e334 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 28 Feb 2017 09:55:29 +0100 Subject: [PATCH] =?utf8?q?Dateimanagement:=20Anh=C3=A4nge-aller-Artikel-Do?= =?utf8?q?wnload:=20Dateinamen=20in=20ZIP=20gefixt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/DownloadZip.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/DownloadZip.pm b/SL/Controller/DownloadZip.pm index 0e60896b1..3304ff66a 100644 --- a/SL/Controller/DownloadZip.pm +++ b/SL/Controller/DownloadZip.pm @@ -62,7 +62,7 @@ sub action_download_orderitems_files { if ( scalar (@wanted_files) > 0 ) { $zip->addDirectory($item->part->partnumber); $zip->addFile($_->get_file, - Encode::encode($name_encoding,$item->part->partnumber.'/'.$_->{file_name}) + Encode::encode($name_encoding,$item->part->partnumber.'/'.$_->db_file->file_name) ) for @wanted_files; } } -- 2.20.1