1
0
This commit is contained in:
Daniel Tartavel 2022-09-26 10:55:16 +02:00
parent 87e612e6f9
commit 6fdeb9d502

View File

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