Skip to content

Commit

Permalink
Merge pull request #1819 from FHenry/3.6
Browse files Browse the repository at this point in the history
 	Fix bug in output extrafields sell list
  • Loading branch information
eldy committed Aug 13, 2014
2 parents 6c316d0 + aabbc33 commit 3729178
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($obj->field_toshow);
$translabel=$langs->trans($obj->$field_toshow);
if ($translabel!=$field_toshow) {
$value.=dol_trunc($translabel,18).' ';
}else {
Expand Down

0 comments on commit 3729178

Please sign in to comment.