Fix combo too heavy of information
This commit is contained in:
parent
8ab460a4d7
commit
de76f65fba
1 changed files with 1 additions and 1 deletions
|
|
@ -2213,7 +2213,7 @@ class Form
|
|||
$outarray2 = array();
|
||||
|
||||
// Do we want to show the label of entity into the combo list ?
|
||||
$showlabelofentity = isModEnabled('multicompany') && !getDolGlobalInt('MULTICOMPANY_TRANSVERSE_MODE') && $conf->entity == 1 && !empty($user->admin) && empty($user->entity);
|
||||
$showlabelofentity = isModEnabled('multicompany') && !getDolGlobalInt('MULTICOMPANY_TRANSVERSE_MODE') && $conf->entity == 1 && !empty($user->admin) && empty($user->entity) && !preg_match('/^search_/', $htmlname);
|
||||
$userissuperadminentityone = isModEnabled('multicompany') && $conf->entity == 1 && $user->admin && empty($user->entity);
|
||||
|
||||
// Forge request to select users
|
||||
|
|
|
|||
Loading…
Reference in a new issue