debug
This commit is contained in:
parent
e645b8121d
commit
3f0111dc5e
@ -18,7 +18,7 @@ function queryVotationName($db, $idVotation) :string
|
||||
|
||||
function queryVotes($db, $idVotation)
|
||||
{
|
||||
$query = "SELECT * FROM liste_votes LEFT JOIN methods ON listes_votes.methods=methods.id WHERE idVotation='" . $idVotation . "'";
|
||||
$query = "SELECT * FROM liste_votes LEFT JOIN methods ON liste_votes.methode=methods.id WHERE idVotation='" . $idVotation . "'";
|
||||
$db->query($query);
|
||||
$votes = $db->result->fetch_all();
|
||||
return $votes;
|
||||
|
Reference in New Issue
Block a user