Fix: [ bug #1542 ] extrafields.class.php, showOutputField wrong

translate.
This commit is contained in:
Laurent Destailleur 2014-07-28 20:12:01 +02:00
parent 910eeee4b8
commit c20256f702

View File

@ -978,7 +978,7 @@ class ExtraFields
{
foreach ($fields_label as $field_toshow)
{
$translabel=$langs->trans($field_toshow);
$translabel=$langs->trans($obj->field_toshow);
if ($translabel!=$field_toshow) {
$value.=dol_trunc($translabel,18).' ';
}else {