]> git.mjollnir.org Git - moodle.git/commitdiff
Merged pdf php5 fix from MDL-13207
authormoodler <moodler>
Mon, 28 Jan 2008 05:30:32 +0000 (05:30 +0000)
committermoodler <moodler>
Mon, 28 Jan 2008 05:30:32 +0000 (05:30 +0000)
lib/pdflib.php

index ed36550ee520d6f4de362ced22919fcc23d2fd63..c689c2391c448e6d60b79593d5542568950135a1 100644 (file)
@@ -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);
     }