summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--print_pdf/print_pdf.pages.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/print_pdf/print_pdf.pages.inc b/print_pdf/print_pdf.pages.inc
index 0239f6b..522cf21 100644
--- a/print_pdf/print_pdf.pages.inc
+++ b/print_pdf/print_pdf.pages.inc
@@ -75,6 +75,10 @@ function print_pdf_controller() {
else {
$pdf_filename = str_replace('/', '_', $path) .'.pdf';
}
+ if (function_exists('transliteration_clean_filename')) {
+ $pdf_filename = transliteration_clean_filename($pdf_filename, language_default('language'));
+ }
+
if (basename($print_pdf_pdf_tool) == 'dompdf_config.inc.php') {
_print_pdf_dompdf($print, $html, $pdf_filename);
}