Fix length of label

This commit is contained in:
Laurent Destailleur 2019-04-04 17:37:03 +02:00
parent 4489db2a70
commit eaf9a2402a
2 changed files with 3 additions and 3 deletions

View File

@ -777,7 +777,7 @@ if ($resql)
// 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']++;
}

View File

@ -709,8 +709,8 @@ while ($i < min($num,$limit))
// 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']++;
}