From e6962e06d196c5fdcb8e348771b24f073c0530c8 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 3 Feb 2016 14:49:03 +0100 Subject: [PATCH] Verify value of PS2PDF and PDF2PS when FIX_BROKEN_PDF is set to yes --- include/class/class_document_export.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/class/class_document_export.php b/include/class/class_document_export.php index c0791357c..e09ae919b 100644 --- a/include/class/class_document_export.php +++ b/include/class/class_document_export.php @@ -234,11 +234,11 @@ class Document_Export { try { - if (CONVERT_GIF_PDF == 'NOT') throw new Exception(_("CONVERT_GIF_PDF n'est pas installé")); - if (PDFTK == 'NOT') throw new Exception(_("TKPDF n'est pas installé")); + if (CONVERT_GIF_PDF == 'NOT') throw new Exception(_("CONVERT_GIF_PDF n'est pas installé")); + if (PDFTK == 'NOT') throw new Exception(_("TKPDF n'est pas installé")); if ( FIX_BROKEN_PDF == 'YES') { - if (PS2PDF == 'NOT') throw new Exception(_('PS2PDF non installé')); - if (PDF2PS == 'NOT') throw new Exception(_('PDF2PS non installé')); + if (PS2PDF == 'NOT') throw new Exception(_('PS2PDF non installé')); + if (PDF2PS == 'NOT') throw new Exception(_('PDF2PS non installé')); } } catch (Exception $ex) {