Second parameter of TCPDF::cell() must be a number (#283)

Co-authored-by: Nicola Asuni <nicolaasuni@users.noreply.github.com>
This commit is contained in:
Teemu Koskinen 2021-03-27 10:44:38 +02:00 committed by GitHub
parent c29df4acb4
commit da030d11b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15529,7 +15529,7 @@ class TCPDF {
$this->y = $y + $vpadding + $barh;
$cellpadding = $this->cell_padding;
$this->SetCellPadding(0);
$this->Cell($txtwidth, '', $label, 0, 0, 'C', false, '', $style['stretchtext'], false, 'T', 'T');
$this->Cell($txtwidth, 0, $label, 0, 0, 'C', false, '', $style['stretchtext'], false, 'T', 'T');
$this->cell_padding = $cellpadding;
}
// restore original direction