Add after
if (function_exists('token_replace') && !empty($pdf_filename)) {
$pdf_filename = token_replace($pdf_filename, 'node', $node) .'.pdf';
}
else {
$pdf_filename = str_replace('/', '_', $path) .'.pdf';
}
line 79 in print_pdf.pages.inc file
if (function_exists('transliteration_clean_filename')) {
$pdf_filename = transliteration_clean_filename($pdf_filename, language_default('language'));
}
Comments
Comment #1
jcnventuraHi,
I have just committed this to CVS. Thanks for the patch.
João