No try to translate label field in dictionary for new
This commit is contained in:
parent
93501a1147
commit
2fdd8486c9
@ -2015,7 +2015,7 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '')
|
||||
print '<td class="'.$classtd.'">';
|
||||
$transfound = 0;
|
||||
$transkey = '';
|
||||
if (in_array($fieldlist[$field], array('label', 'libelle'))) // For label
|
||||
if (in_array($fieldlist[$field], array('label', 'libelle')) and !empty($obj->code)) // For label
|
||||
{
|
||||
// Special case for labels
|
||||
if ($tabname == MAIN_DB_PREFIX.'c_civility') {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user