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 { } else {
if (!$notrans) { if (!$notrans) {
$translabel = $langs->trans($obj->{$InfoFieldList[1]}); $translabel = $langs->trans($obj->{$InfoFieldList[1]});
$labeltoshow = dol_trunc($translabel, 18); $labeltoshow =$translabel;
} }
if (empty($labeltoshow)) $labeltoshow = '(not defined)'; if (empty($labeltoshow)) $labeltoshow = '(not defined)';