1
0
This commit is contained in:
2022-09-29 16:40:13 +02:00
parent e0296f3756
commit 2ccd3a7505
3 changed files with 69 additions and 3 deletions

View File

@ -155,7 +155,7 @@ class dbcore
function queryVotes($idVotation)
{
$query = "SELECT id, lv.libelle, ms.libelle as methode FROM liste_votes as lv LEFT JOIN methods as ms ON lv.methode=ms.id WHERE idVotation='" . $idVotation . "'";
$query = "SELECT lv.id, lv.libelle, ms.libelle as methode FROM liste_votes as lv LEFT JOIN methods as ms ON lv.methode=ms.id WHERE idVotation='" . $idVotation . "'";
$this->query($query);
$votes = $this->result->fetch_all(MYSQLI_ASSOC);
return $votes;