mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Fixed PHP7 Constructor
This commit is contained in:
+3
-3
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user