From f8549abcf99606da8e9100b4b3457d1bb0f48d38 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Thu, 15 Sep 2022 18:43:24 +0200 Subject: [PATCH] debug --- gestionsite/saisieVotes.php | 2 -- include/fonctions.inc.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gestionsite/saisieVotes.php b/gestionsite/saisieVotes.php index 3a084d2..b4677eb 100644 --- a/gestionsite/saisieVotes.php +++ b/gestionsite/saisieVotes.php @@ -1,6 +1,4 @@ - query($query); - $methods = $db->result::fetch_all(MYSQLI_ASSOC); + $methods = $db->result->fetch_all(MYSQLI_ASSOC); if (!(array_key_exists($method, $methods))) { print(_("L'ID de la méthode demandée n'est pas bonne " . __file__ . __LINE__));