FIX an external user can not approved
This commit is contained in:
parent
4511cf1060
commit
110a23623b
@ -262,6 +262,7 @@ else
|
|||||||
{
|
{
|
||||||
$sql.= " WHERE (u.entity IN (".getEntity('user').")";
|
$sql.= " WHERE (u.entity IN (".getEntity('user').")";
|
||||||
}
|
}
|
||||||
|
$sql.= " AND u.fk_soc IS NULL"; // An external user can not approved
|
||||||
|
|
||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user