Skip to content

Commit

Permalink
pdf extension added
Browse files Browse the repository at this point in the history
  • Loading branch information
ettolrah committed Aug 21, 2024
1 parent b06947c commit 23ae2de
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/deployment.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/questionnaire.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion report.php
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,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 23ae2de

Please sign in to comment.