Commit e522c3f2 authored by jcnventura's avatar jcnventura

Forgot quotes around UTF-8 in fix for #435578

parent c8aee091
......@@ -222,7 +222,7 @@ function _print_pdf_tcpdf($print, $html, $filename) {
// set document information
$pdf->SetAuthor(strip_tags($print['submitted']));
$pdf->SetCreator(variable_get('site_name', 'Drupal'));
$pdf->SetTitle(html_entity_decode($print['title'], ENT_QUOTES, UTF-8));
$pdf->SetTitle(html_entity_decode($print['title'], ENT_QUOTES, 'UTF-8'));
$keys = implode(' ', explode("\n", trim(strip_tags($print['taxonomy']))));
$pdf->SetKeywords($keys);
$pdf->setPDFVersion('1.6');
......
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