Fixing style errors.

This commit is contained in:
stickler-ci 2021-12-09 08:35:12 +00:00
parent d0413f423f
commit f74077a2e7

View File

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