Skip to content

Commit

Permalink
Fix: [ bug #1542 ] extrafields.class.php, showOutputField wrong
Browse files Browse the repository at this point in the history
translate.
  • Loading branch information
eldy committed Jul 28, 2014
1 parent 21c7972 commit 096a61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/extrafields.class.php
Expand Up @@ -979,7 +979,7 @@ function showOutputField($key,$value,$moreparam='')
{
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 {
Expand Down

0 comments on commit 096a61d

Please sign in to comment.