Skip to content

Commit

Permalink
pdf extension added
Browse files Browse the repository at this point in the history
  • Loading branch information
ettolrah authored and mchurchward committed Aug 29, 2024
1 parent de5227b commit 25e1d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report.php
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@
// not an array.
$errorreporting = error_reporting(0);
$pdf->writeHTML($html);
@$pdf->Output(clean_param($questionnaire->name, PARAM_FILE), 'D');
@$pdf->Output(clean_param($questionnaire->name, PARAM_FILE) . '.pdf', 'D');
error_reporting($errorreporting);

} else { // Default to HTML.
Expand Down

0 comments on commit 25e1d8f

Please sign in to comment.