FIX: format
This commit is contained in:
@ -20,7 +20,7 @@ class Informe
|
||||
public function send(string $filename)
|
||||
{
|
||||
header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
||||
header("Content-Disposition: attachment;filename='{$filename}'");
|
||||
header("Content-Disposition: attachment;filename=\"{$filename}\"");
|
||||
header('Cache-Control: max-age=0');
|
||||
|
||||
$writer = IOFactory::createWriter($this->spreadsheet, 'Xlsx');
|
||||
|
Reference in New Issue
Block a user