Update pdf.lib.php
This commit is contained in:
parent
f74077a2e7
commit
abd984bc14
@ -1414,7 +1414,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
|
|||||||
$libelleproduitservice = $outputlangs->transnoentitiesnoconv("DiscountFromExcessPaid", $discount->ref_invoice_supplier_source);
|
$libelleproduitservice = $outputlangs->transnoentitiesnoconv("DiscountFromExcessPaid", $discount->ref_invoice_supplier_source);
|
||||||
} else {
|
} else {
|
||||||
if (dol_textishtml($libelleproduitservice) && !dol_textishtml($desc)) {
|
if (dol_textishtml($libelleproduitservice) && !dol_textishtml($desc)) {
|
||||||
str_replace("\n", '<br>', $desc);
|
$desc = str_replace("\n", '<br>', $desc);
|
||||||
}
|
}
|
||||||
if ($idprod) {
|
if ($idprod) {
|
||||||
// Check if description must be output
|
// Check if description must be output
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user