Fixed PHP7 Constructor

This commit is contained in:
Andreas Oesterreicher
2017-06-07 18:43:31 +02:00
parent 60ab8fdd1b
commit bff6e480f8
28 changed files with 5 additions and 3125 deletions
+3 -3
View File
@@ -27,10 +27,10 @@ class PDF extends FPDF
* letter
* legal
*/
function PDF($orientation='P',$unit='mm',$format='A4')
function __construct($orientation='P',$unit='mm',$format='A4')
{
//Call parent constructor
$this->FPDF($orientation,$unit,$format);
parent::__construct($orientation,$unit,$format);
//Initialization
$this->B=0;
$this->I=0;
@@ -188,4 +188,4 @@ class PDF extends FPDF
}
}
?>
?>