projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd69ad3
)
Dateimanagement: Anhänge-aller-Artikel-Download: Dateinamen in ZIP gefixt
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 08:55:29 +0000
(09:55 +0100)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Tue, 28 Feb 2017 09:03:54 +0000
(10:03 +0100)
SL/Controller/DownloadZip.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/DownloadZip.pm
b/SL/Controller/DownloadZip.pm
index
0e60896
..
3304ff6
100644
(file)
--- 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;
}
}