fix : unuseful truncation of list name elements

This commit is contained in:
bahfir abbes 2020-09-04 15:57:08 +01:00
parent 4fdbfa8224
commit 77afbd4412

View File

@ -1231,7 +1231,7 @@ class ExtraFields
} else {
if (!$notrans) {
$translabel = $langs->trans($obj->{$InfoFieldList[1]});
$labeltoshow = dol_trunc($translabel, 18);
$labeltoshow =$translabel;
}
if (empty($labeltoshow)) $labeltoshow = '(not defined)';