Commit 51990a01 authored by Quentin Ribac's avatar Quentin Ribac
Browse files

FIX #18589 TIME 0:05 trimming recipientLabel

parent f2b0c1fd
......@@ -1063,6 +1063,7 @@ class RegisteredMailController
} elseif (!empty($recipient[1])) {
$recipientLabel .= ' (' . $recipient[1] . ')';
}
$recipientLabel = trim($recipientLabel);
if (strlen($recipientLabel . " " . $recipient[4] . " " . $recipient[6] . " " . $recipient[7]) > 60) {
$pdf->Cell(95, 10, $recipientLabel, 1);
$pdf->SetXY($pdf->GetX() - 95, $pdf->GetY() + 3);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment