Merge pull request #12372 from OPEN-DSI/fix-admin-dict-transkey-not-defined
FIX var transkey not defined in input hidden
This commit is contained in:
commit
2aac4b382f
@ -2011,9 +2011,9 @@ function fieldList($fieldlist, $obj = '', $tabname = '', $context = '')
|
||||
if (in_array($fieldlist[$field], array('libelle', 'label', 'tracking'))) $class='quatrevingtpercent';
|
||||
print '<td class="'.$classtd.'">';
|
||||
$transfound=0;
|
||||
$transkey='';
|
||||
if (in_array($fieldlist[$field], array('label','libelle'))) // For label
|
||||
{
|
||||
$transkey='';
|
||||
// Special case for labels
|
||||
if ($tabname == MAIN_DB_PREFIX.'c_civility') {
|
||||
$transkey="Civility".strtoupper($obj->code);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user