Skip to content

Commit 25e1d8f

Browse files
ettolrahmchurchward
authored andcommitted
pdf extension added
1 parent de5227b commit 25e1d8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

report.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@
640640
// not an array.
641641
$errorreporting = error_reporting(0);
642642
$pdf->writeHTML($html);
643-
@$pdf->Output(clean_param($questionnaire->name, PARAM_FILE), 'D');
643+
@$pdf->Output(clean_param($questionnaire->name, PARAM_FILE) . '.pdf', 'D');
644644
error_reporting($errorreporting);
645645

646646
} else { // Default to HTML.

0 commit comments

Comments
 (0)