Update pdf.lib.php

This commit is contained in:
fr69400 2021-12-09 09:39:22 +01:00 committed by GitHub
parent f74077a2e7
commit abd984bc14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1414,7 +1414,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
$libelleproduitservice = $outputlangs->transnoentitiesnoconv("DiscountFromExcessPaid", $discount->ref_invoice_supplier_source);
} else {
if (dol_textishtml($libelleproduitservice) && !dol_textishtml($desc)) {
str_replace("\n", '<br>', $desc);
$desc = str_replace("\n", '<br>', $desc);
}
if ($idprod) {
// Check if description must be output