This commit is contained in:
Madhura Jayaratne
2011-10-08 14:14:13 +05:30
parent 338709a264
commit 55f2d0726b

View File

@@ -1075,7 +1075,7 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema
if (empty($filename)) { if (empty($filename)) {
$filename = $pageNumber . '.pdf'; $filename = $pageNumber . '.pdf';
} }
$fileName = PMA_sanitize_filename($fileName); $filename = PMA_sanitize_filename($filename);
// instead of $pdf->Output(): // instead of $pdf->Output():
$pdfData = $pdf->getPDFData(); $pdfData = $pdf->getPDFData();