From 8d45fcc50511016bdef39d96c7693fd4f8ea6375 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 28 Jan 2008 05:28:54 +0000 Subject: [PATCH] Merged pdf php5 fix from MDL-13207 --- lib/pdflib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pdflib.php b/lib/pdflib.php index 40dc7df4e48..809b0088d5b 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); } @@ -136,4 +136,4 @@ class pdf extends TCPDF { } // End class pdf -?> \ No newline at end of file +?>