diff --git a/htdocs/core/lib/pdf.lib.php b/htdocs/core/lib/pdf.lib.php
index eef5ca9ada3..b8a8551ff65 100644
--- a/htdocs/core/lib/pdf.lib.php
+++ b/htdocs/core/lib/pdf.lib.php
@@ -1363,7 +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)) {
- if (!dol_textishtml($libelleproduitservice)){
+ if (!dol_textishtml($libelleproduitservice)) {
$libelleproduitservice = str_replace("\n", '
', $libelleproduitservice);
}
$libelleproduitservice = ''.$libelleproduitservice.'';
@@ -1495,7 +1495,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
}
if (!empty($ref_prodserv) && !empty($conf->global->PDF_BOLD_PRODUCT_REF_AND_PERIOD)) {
- if (!dol_textishtml($libelleproduitservice)){
+ if (!dol_textishtml($libelleproduitservice)) {
$libelleproduitservice = str_replace("\n", '
', $libelleproduitservice);
}
$ref_prodserv = ''.$ref_prodserv.'';
@@ -1533,7 +1533,7 @@ function pdf_getlinedesc($object, $i, $outputlangs, $hideref = 0, $hidedesc = 0,
}
//print '>'.$outputlangs->charset_output.','.$period;
if (!empty($conf->global->PDF_BOLD_PRODUCT_REF_AND_PERIOD)) {
- if (!dol_textishtml($libelleproduitservice)){
+ if (!dol_textishtml($libelleproduitservice)) {
$libelleproduitservice = str_replace("\n", '
', $libelleproduitservice);
}
$libelleproduitservice .= '
'.$period.'';