diff --git a/htdocs/product/list.php b/htdocs/product/list.php index 282d5347257..22767b69cda 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -773,7 +773,7 @@ if ($resql) // Label if (! empty($arrayfields['p.label']['checked'])) { - print ''.dol_trunc($obj->label,40).''; + print ''.dol_trunc($obj->label, 40).''; if (! $i) $totalarray['nbfield']++; } diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index dac11d34519..ba45a5b0b32 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -713,8 +713,8 @@ while ($i < min($num,$limit)) // Title if (! empty($arrayfields['p.title']['checked'])) { - print ''; - print dol_trunc($obj->title,80); + print ''; + print dol_trunc($obj->title, 80); print ''; if (! $i) $totalarray['nbfield']++; }