From: moodler Date: Mon, 28 Jan 2008 05:30:32 +0000 (+0000) Subject: Merged pdf php5 fix from MDL-13207 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=3a61f85c7ed13ace0a63488a086195b68427ff8a;p=moodle.git Merged pdf php5 fix from MDL-13207 --- 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); }