Merged pdf php5 fix from MDL-13207

This commit is contained in:
moodler
2008-01-28 05:28:54 +00:00
parent 70e1cd76c8
commit 8d45fcc505
+2 -2
View 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);
}
@@ -136,4 +136,4 @@ class pdf extends TCPDF {
} // End class pdf
?>
?>