From: Moritz Bunkus Date: Tue, 28 Feb 2017 08:55:29 +0000 (+0100) Subject: Dateimanagement: Anhänge-aller-Artikel-Download: Dateinamen in ZIP gefixt X-Git-Tag: release-3.5.4~1424 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=31d8fef1efd5041374b5b00c40ede4d2b166e334;p=kivitendo-erp.git Dateimanagement: Anhänge-aller-Artikel-Download: Dateinamen in ZIP gefixt --- 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; } }