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); $discount->fetch($object->lines[$i]->fk_remise_except);
$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); str_replace("\n", '<br>', $desc);
} }
if ($idprod) { if ($idprod) {
// Check if description must be output // Check if description must be output