diff --git a/htdocs/fourn/commande/index.php b/htdocs/fourn/commande/index.php index 01af73cb76e..50a9150a9a1 100644 --- a/htdocs/fourn/commande/index.php +++ b/htdocs/fourn/commande/index.php @@ -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)