]> wagnertech.de Git - mfinanz.git/blobdiff - SL/Controller/DownloadZip.pm
Testfehler: Tabs entfernt
[mfinanz.git] / SL / Controller / DownloadZip.pm
index 06f62213c089f5d94e7abe1afb053edf4a4301bc..f1a6fa6a67df491a9d6364da175bf30f7e3f9db6 100644 (file)
@@ -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;
       }
     }
   }
@@ -108,7 +110,7 @@ THis method must be inserted into the customer branch:
 
   ns.downloadOrderitemsAtt = function(type,id) {
     var rowcount  = $('input[name=rowcount]').val() - 1;
-         var data = {
+    var data = {
         action:     'FileManagement/download_zip',
         type:       type,
         object_id:  id,