diff --git a/app/controller/admin.php b/app/controller/admin.php index 436df332a6e2c9fa9c949f6c06a0e2582ea51709..f93485e416cd5aa8fe416854763aca8fa8248ad4 100644 --- a/app/controller/admin.php +++ b/app/controller/admin.php @@ -563,8 +563,8 @@ class Admin extends Controller a.ville as ville, a.pays as pays FROM contreparties c - INNER JOIN users u ON c.user_id = u.id - INNER JOIN adresses a ON c.adresse_id = a.id + LEFT OUTER JOIN users u ON c.user_id = u.id + LEFT OUTER JOIN adresses a ON u.id = a.user_id WHERE 1=1 "; if ($texte) { $query .= " AND (c.id like '%".$texte."%'