Merged pdf php5 fix from MDL-13207

This commit is contained in:
moodler 2008-01-28 05:30:32 +00:00
parent 03f45a9f04
commit 3a61f85c7e

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);
}