diff --git a/backend/modules/card/controllers/UserCardController.php b/backend/modules/card/controllers/UserCardController.php index 6bd4a45..10da2a8 100755 --- a/backend/modules/card/controllers/UserCardController.php +++ b/backend/modules/card/controllers/UserCardController.php @@ -332,8 +332,10 @@ class UserCardController extends Controller "); $mpdf->WriteHTML("
$userCard->resume_text
"); - $mpdf->Output("Resume - {$userCard->fio}", 'D'); // call the mpdf api output as needed - exit; + $filename = "Resume - " . $userCard->fio . ".pdf";//You might be not adding the extension, + + $mpdf->Output($filename, 'D'); // call the mpdf api output as needed + exit(); } private function downloadResumeDocx(UserCard $model)