X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/05e0e8ca1544e1ca706a99e51f9caf9a2f56f6af..5ce99992a783b03eca2a382fe76a6e01d7ad724f:/SL/Controller/DownloadZip.pm diff --git a/SL/Controller/DownloadZip.pm b/SL/Controller/DownloadZip.pm index 06f62213c..ffc37155b 100644 --- a/SL/Controller/DownloadZip.pm +++ b/SL/Controller/DownloadZip.pm @@ -64,7 +64,9 @@ 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)) for @wanted_files; + $zip->addFile($_->get_file, + Encode::encode($name_encoding,$item->part->partnumber.'/'.$_->{file_name}) + ) for @wanted_files; } } }