Fix ref must be visible on combolist
This commit is contained in:
parent
07853b35aa
commit
2b16ee75cd
@ -225,6 +225,7 @@ if ($dirins && $action == 'initobject' && $module && GETPOST('createtablearray',
|
||||
|
||||
$string.= "'".$obj->Field."' =>array('type'=>'".$type."', 'label'=>'".$label."', 'enabled'=>1, 'visible'=>-2";
|
||||
if ($notnull) $string.= ", 'notnull'=>".$notnull;
|
||||
if ($fieldname == 'ref') $string.= ", 'showoncombobox'=>1";
|
||||
$string.= ", 'position'=>".$i."),\n";
|
||||
$string.="<br>";
|
||||
$i+=5;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user