diff --git a/include/db.class.php b/include/db.class.php index e14c21a..5896971 100644 --- a/include/db.class.php +++ b/include/db.class.php @@ -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(MYSQL_ASSOC); + $candidats = $this->result->fetch_all(MYSQLI_ASSOC); return $candidats; } }