From 6fdeb9d5024bcc4f569de04d510d9becfd4213bf Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Mon, 26 Sep 2022 10:55:16 +0200 Subject: [PATCH] debug --- include/db.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }