Add comment on a bugged option

This commit is contained in:
Laurent Destailleur 2021-11-15 11:10:18 +01:00
parent 5a1f54f47f
commit 16c28b505b

View File

@ -1363,6 +1363,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
// Description short of product line
$libelleproduitservice = $label;
if (!empty($libelleproduitservice) && !empty($conf->global->PDF_BOLD_PRODUCT_LABEL)) {
// This part of code is bugged. It introduces a HTML tag making the label a html string but without converting \n into br if it was a full text non html string before.
$libelleproduitservice = '<b>'.$libelleproduitservice.'</b>';
}
}