From 3a61f85c7ed13ace0a63488a086195b68427ff8a Mon Sep 17 00:00:00 2001
From: moodler <moodler>
Date: Mon, 28 Jan 2008 05:30:32 +0000
Subject: [PATCH] Merged pdf php5 fix from MDL-13207

---
 lib/pdflib.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pdflib.php b/lib/pdflib.php
index ed36550ee5..c689c2391c 100644
--- a/lib/pdflib.php
+++ b/lib/pdflib.php
@@ -96,7 +96,7 @@ class pdf extends TCPDF {
      * Fake constructor to keep PHP5 happy.
      */
     function __construct($orientation='P', $unit='mm', $format='A4', $unicode=true, $encoding='UTF-8') {
-        $this->pdf($orientation='P', $unit='mm', $format='A4', $unicode=true, $encoding='UTF-8');
+        $this->pdf($orientation, $unit, $format, $unicode, $encoding);
     }
     
     
-- 
2.39.5