noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 05/06: Bug : PDF Landscape failed


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 05/06: Bug : PDF Landscape failed
Date: Mon, 29 Feb 2016 21:32:49 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 2648dff8b5f2ff180d444ee96684c93b44ed6c63
Author: Dany De Bontridder <address@hidden>
Date:   Mon Feb 29 22:21:28 2016 +0100

    Bug : PDF Landscape failed
---
 include/lib/class_pdf.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/lib/class_pdf.php b/include/lib/class_pdf.php
index 06e81f3..726c3cf 100644
--- a/include/lib/class_pdf.php
+++ b/include/lib/class_pdf.php
@@ -333,7 +333,7 @@ class PDFLand extends PDF
         if($p_cn == null) die("No database connection. Abort.");
         $this->bigger=0;
 
-        parent::__construct('L', $unit, $format);
+        parent::__construct($p_cn,'L', $unit, $format);
         date_default_timezone_set ('Europe/Paris');
         $this->AddFont('DejaVu','','DejaVuSans.ttf',true);
         $this->AddFont('DejaVu','B','DejaVuSans-Bold.ttf',true);



reply via email to

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