1
0
This commit is contained in:
2022-09-26 10:53:45 +02:00
parent 6383cedf89
commit 87e612e6f9
2 changed files with 10 additions and 2 deletions

View File

@ -141,7 +141,7 @@ class dbcore
{
$query = "SELECT * FROM liste_candidats WHERE idVotation='" . $idVotation . "' AND idVote='" . $idVote . "'";
$this->query($query);
$candidats = $this->result->fetch_all();
$candidats = $this->result->fetch_all(MYSQL_ASSOC);
return $candidats;
}
}