From 5c1836e5e6a093f288a02240a7991d01ef899f84 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Mon, 19 Sep 2022 12:54:22 +0200 Subject: [PATCH] ajpout bouton annuler --- include/fonctions.inc.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/include/fonctions.inc.php b/include/fonctions.inc.php index 41c887a..78c7c90 100644 --- a/include/fonctions.inc.php +++ b/include/fonctions.inc.php @@ -57,7 +57,7 @@ function choixVotation($path, $methode = 2, $confirm = true) //2 = toutes les v $result = $db->query($query); $votations = $db->result->fetch_all(MYSQLI_ASSOC); - if ($db->result->num_rows == 1) + /*if ($db->result->num_rows == 1) { $redirect = ''); print "
";
 	print '';
@@ -79,10 +79,11 @@ function choixVotation($path, $methode = 2, $confirm = true)		//2 = toutes les v
 	// TODO confirmation du choix par javascript si $confirm = true
 
 	print '

-
- -
- '; +
+ + +
+ '; $db->close(); }