This commit is contained in:
Laurent Destailleur 2026-02-17 20:28:28 +01:00
parent 0f397ece1c
commit aef5a5ee91

View file

@ -136,7 +136,7 @@ foreach ($object->fields as $key => $val) {
$arrayfields['wug.fk_usergroup'] = array(
'label' => $langs->trans('UserGroups'),
'checked' => '1',
'enabled' => (string) (int) (abs($visible) != 3 && (bool) dol_eval((string) $val['enabled'], 1)),
'enabled' => '1',
'position' => 1000,
'help' => empty($val['help']) ? '' : $val['help'],
'csslist' => 'minwidth100'