noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/01: Convert to PDF : bug


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/01: Convert to PDF : bug
Date: Fri, 29 Jan 2016 11:51:11 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 7012ef94d37608e264f48d839107260c73f4705f
Author: Dany De Bontridder <address@hidden>
Date:   Fri Jan 29 12:43:47 2016 +0100

    Convert to PDF : bug
---
 include/class/class_document_export.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/class/class_document_export.php 
b/include/class/class_document_export.php
index 1eb78d6..a35bc47 100644
--- a/include/class/class_document_export.php
+++ b/include/class/class_document_export.php
@@ -160,7 +160,7 @@ class Document_Export
             }
             //-----------------------------------
             // Fix broken PDF , actually pdftk can not handle all the PDF
-            if ( define ('FIX_BROKEN_PDF') == 'YES' ) {
+            if ( FIX_BROKEN_PDF == 'YES' ) {
                 $stmpt = CONVERT_GIF_PDF." ". 
escapeshellarg($this->store_convert . '/' . $file_pdf)." ". 
escapeshellarg($this->store_convert . '/' . $file_pdf.'tmp');
                 passthru($stmpt,$status);
                 rename ($this->store_convert . '/' . 
$file_pdf.'tmp',$this->store_convert . '/' . $file_pdf);



reply via email to

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