From da030d11b7e0cd5206e8fe9775eb26883a0311ce Mon Sep 17 00:00:00 2001 From: Teemu Koskinen Date: Sat, 27 Mar 2021 10:44:38 +0200 Subject: [PATCH] Second parameter of TCPDF::cell() must be a number (#283) Co-authored-by: Nicola Asuni --- tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpdf.php b/tcpdf.php index 31913b5..22a1add 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -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