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