Merge pull request #14637 from bafbes/abb120138

fix : unuseful truncation of list name elements
This commit is contained in:
Laurent Destailleur 2020-09-04 22:38:08 +02:00 committed by GitHub
commit 9803da3ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)';