diff --git a/print_pdf/print_pdf.pages.inc b/print_pdf/print_pdf.pages.inc index 251044f911f1be4639bc254358d57fd007faf6fa..c8133cb545b9e9dac014ffd13e374e3dc34d76e8 100644 --- a/print_pdf/print_pdf.pages.inc +++ b/print_pdf/print_pdf.pages.inc @@ -250,7 +250,7 @@ function _print_pdf_tcpdf($print, $html, $filename) { $pdf->SetKeywords($keys); $pdf->setPDFVersion('1.6'); - if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL) { + if ($language->direction == LANGUAGE_RTL) { $pdf->setRTL(TRUE); }