FIX an external user can not approved

This commit is contained in:
Regis Houssin 2020-02-18 11:04:11 +01:00
parent 4511cf1060
commit 110a23623b

View File

@ -262,6 +262,7 @@ else
{
$sql.= " WHERE (u.entity IN (".getEntity('user').")";
}
$sql.= " AND u.fk_soc IS NULL"; // An external user can not approved
$resql = $db->query($sql);
if ($resql)