noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 04/06: Verify value of PS2PDF and PDF2PS when


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/06: Verify value of PS2PDF and PDF2PS when FIX_BROKEN_PDF is set to yes
Date: Fri, 05 Feb 2016 21:32:29 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit e6962e06d196c5fdcb8e348771b24f073c0530c8
Author: Dany De Bontridder <address@hidden>
Date:   Wed Feb 3 14:49:03 2016 +0100

    Verify value of PS2PDF and PDF2PS when FIX_BROKEN_PDF is set to yes
---
 include/class/class_document_export.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/class/class_document_export.php 
b/include/class/class_document_export.php
index c079135..e09ae91 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) 
         {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]