Skip to content

Commit

Permalink
Fix length of label
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Apr 4, 2019
1 parent 4489db2 commit eaf9a24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/product/list.php
Expand Up @@ -777,7 +777,7 @@
// Label
if (! empty($arrayfields['p.label']['checked']))
{
print '<td class="tdoverflowmax200">'.dol_trunc($obj->label,40).'</td>';
print '<td class="tdoverflowmax200">'.dol_trunc($obj->label, 40).'</td>';
if (! $i) $totalarray['nbfield']++;
}

Expand Down
4 changes: 2 additions & 2 deletions htdocs/projet/list.php
Expand Up @@ -709,8 +709,8 @@
// Title
if (! empty($arrayfields['p.title']['checked']))
{
print '<td class="tdoverflowmax100">';
print dol_trunc($obj->title,80);
print '<td class="tdoverflowmax200">';
print dol_trunc($obj->title, 80);
print '</td>';
if (! $i) $totalarray['nbfield']++;
}
Expand Down

0 comments on commit eaf9a24

Please sign in to comment.