Commit 98bf0955 authored by Bate's avatar Bate

Correction requete sql ambigue dans galaxy

parent 191868a8
......@@ -97,7 +97,7 @@ class galaxy
}
// b- Parrainage : n pt / relation parrain-fillot
$req = new requete($this->db, "SELECT id_utilisateur as u1, id_utilisateur_fillot as u2 ".
$req = new requete($this->db, "SELECT parrains.id_utilisateur as u1, id_utilisateur_fillot as u2 ".
"FROM `parrains` ".
"LEFT JOIN utilisateurs usr1 ON (parrains.id_utilisateur = usr1.id_utilisateur) ".
"LEFT JOIN utilisateurs usr2 ON (id_utilisateur_fillot = usr2.id_utilisateur) ".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment