Permalink
Browse files

Merged pdf php5 fix from MDL-13207

  • Loading branch information...
1 parent 70e1cd7 commit 8d45fcc50511016bdef39d96c7693fd4f8ea6375 moodler committed Jan 28, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/pdflib.php
View
@@ -96,7 +96,7 @@ function pdf($orientation='P', $unit='mm', $format='A4', $unicode=true, $encodin
* 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 @@ function _getfontfiles($fontdir) {
} // End class pdf
-?>
+?>

0 comments on commit 8d45fcc

Please sign in to comment.