Fix option notdisable din select_user
This commit is contained in:
parent
959f8238c4
commit
e7ea0db00b
1 changed files with 2 additions and 2 deletions
|
|
@ -2600,10 +2600,10 @@ class Form
|
|||
$sql .= " OR rowid IN (".$this->db->sanitize(implode(',', $selected)).")"; // We must always keep the selected users to avoid to loose it/them when updating
|
||||
$sql .= ")";
|
||||
}
|
||||
if (getDolGlobalString('USER_HIDE_NONEMPLOYEE_IN_COMBOBOX') || $notdisabled) {
|
||||
if (getDolGlobalString('USER_HIDE_NONEMPLOYEE_IN_COMBOBOX')) {
|
||||
$sql .= " AND u.employee <> 0";
|
||||
}
|
||||
if (getDolGlobalString('USER_HIDE_EXTERNAL_IN_COMBOBOX') || $notdisabled) {
|
||||
if (getDolGlobalString('USER_HIDE_EXTERNAL_IN_COMBOBOX')) {
|
||||
$sql .= " AND u.fk_soc IS NULL";
|
||||
}
|
||||
if (!empty($morefilter)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue