Completed
Push — master ( a7ff16...7e965f )
by Joe Nilson
10:50
created
Controller/FiscalReports.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,8 +109,8 @@
 block discarded – undo
109 109
             $fileName = 'DGII_'.$reportCode.'_'.$this->empresa->cifnif.'_'.$year.'_'.$month.'.txt';
110 110
             $commonFunctions->exportTXT($reportCode, $fileName, $this->empresa->cifnif, $year, $month, $whereReport);
111 111
             $this->response->headers->set('Content-type', 'text/plain');
112
-            $this->response->headers->set('Content-Disposition', 'attachment;filename=' . $fileName);
113
-            $this->response->setContent(file_get_contents(\FS_FOLDER . DIRECTORY_SEPARATOR . $fileName));
112
+            $this->response->headers->set('Content-Disposition', 'attachment;filename='.$fileName);
113
+            $this->response->setContent(file_get_contents(\FS_FOLDER.DIRECTORY_SEPARATOR.$fileName));
114 114
         }
115 115
     }
116 116
 
Please login to merge, or discard this patch.