summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoao Ventura2010-07-14 16:07:55 (GMT)
committer Joao Ventura2010-07-14 16:07:55 (GMT)
commit360140fb5bce4645a1135fd54df285e2d63b688f (patch)
tree1b81ccd2cff18e0dbd264b44603361cb6f2ad8c9
parent9c42c5acda4f4dce251c8c8cd1d43c7dd9ee7b8b (diff)
LANGUAGE_RTL is always defined in Drupal
-rw-r--r--print_pdf/print_pdf.pages.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/print_pdf/print_pdf.pages.inc b/print_pdf/print_pdf.pages.inc
index 251044f..c8133cb 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);
}