diff --git a/htdocs/product/list.php b/htdocs/product/list.php index b729ecb6877..f2d869c9a45 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -777,7 +777,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 37caf6f4e69..78d21d36424 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -709,8 +709,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']++; }