Fix a warning for PHP 7.4

Signed-off-by: Jack Cherng <jfcherng@gmail.com>
This commit is contained in:
Jack Cherng 2019-06-05 09:07:04 +08:00
parent 756908329d
commit 34eb0dff48
No known key found for this signature in database
GPG Key ID: 5E7917F4ADC2AD36

View File

@ -1960,7 +1960,7 @@ class TCPDF {
// set default JPEG quality
$this->jpeg_quality = 75;
// initialize some settings
TCPDF_FONTS::utf8Bidi(array(''), '', false, $this->isunicode, $this->CurrentFont);
TCPDF_FONTS::utf8Bidi(array(), '', false, $this->isunicode, $this->CurrentFont);
// set default font
$this->SetFont($this->FontFamily, $this->FontStyle, $this->FontSizePt);
$this->setHeaderFont(array($this->FontFamily, $this->FontStyle, $this->FontSizePt));