mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Fix for warnings/notices/deprecated messages on PHP 7.4
This commit is contained in:
@@ -4,7 +4,7 @@ require_once('tcpdf.php');
|
||||
|
||||
class PDF extends TCPDF
|
||||
{
|
||||
function PDF($orientation='L', $unit='mm', $format='A4')
|
||||
function __construct($orientation='L', $unit='mm', $format='A4')
|
||||
{
|
||||
parent::__construct($orientation,$unit,$format);
|
||||
$this->SetAutoPageBreak(true,10);
|
||||
@@ -105,4 +105,4 @@ class PDF extends TCPDF
|
||||
return strip_tags($text);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user