diff --git a/build/api/module/professor/pdfController.php b/build/api/module/professor/pdfController.php index 2971bd4..9d6ffe4 100644 --- a/build/api/module/professor/pdfController.php +++ b/build/api/module/professor/pdfController.php @@ -148,7 +148,7 @@ class pdfController{ $headers = [ // 'Content-Description' => 'File Transfer', 'Content-Transfer-Encoding' => 'binary', - 'Content-Disposition' => 'attachment; filename=\"'.$title.'\"', + 'Content-Disposition' => 'attachment; filename=\"'.$title.'\.pdf"', 'Cache-Control' => 'public, must-revalidate, max-age=0', 'Pragma' => 'public', 'X-Generator' => 'mPDF',