From 91f5fe1320d5cdafab3618f932e96934b593158c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 9 Dec 2022 15:42:55 +0100 Subject: [PATCH] Debug v17 --- htdocs/core/modules/action/rapport.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/action/rapport.class.php b/htdocs/core/modules/action/rapport.class.php index 94bfa344360..8c0964b1378 100644 --- a/htdocs/core/modules/action/rapport.class.php +++ b/htdocs/core/modules/action/rapport.class.php @@ -332,7 +332,7 @@ class CommActionRapport // Description of event $pdf->SetXY(106, $y); - $pdf->MultiCell(94, $height, $outputlangs->convToOutputCharset(dol_string_nohtmltag($text, 0)), 0, 'L', 0); + $pdf->MultiCell(94, $height, $outputlangs->convToOutputCharset(dol_trunc(dol_string_nohtmltag($text, 0), 250, 'right', 'UTF-8', 0)), 0, 'L', 0); $y3 = $pdf->GetY(); $i++;