Commit 52c591f0 authored by David Metzler's avatar David Metzler
Browse files

#2362365 mpdf default filename

parent 4749a23f
......@@ -74,7 +74,8 @@ class FrxMPDF extends FrxDocument {
$mpdf->WriteHTML($output);
// $pdf = $mpdf->Output('', 'S');
$pdf = $mpdf->Output();
$file_name = basename($_GET['q']);
$pdf = $mpdf->Output($filename, 'I');
return $pdf;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment