Merge pull request #14006 from bafbes/abb110215
fix:The label must be a dictionary key
This commit is contained in:
commit
3527d011f5
@ -713,7 +713,7 @@ if ($dirins && $action == 'initobject' && $module && GETPOST('createtablearray',
|
||||
$notnull = ($obj->Null == 'YES' ? 0 : 1);
|
||||
if ($fieldname == 'fk_user_modif') $notnull = -1;
|
||||
// label
|
||||
$label = preg_replace('/_/', ' ', ucfirst($fieldname));
|
||||
$label = preg_replace('/_/', '', ucfirst($fieldname));
|
||||
if ($fieldname == 'rowid') $label = 'TechnicalID';
|
||||
if ($fieldname == 'import_key') $label = 'ImportId';
|
||||
if ($fieldname == 'fk_soc') $label = 'ThirdParty';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user