diff --git a/gestion/saisieVotes.php b/gestion/saisieVotes.php index 5c2d092..f8f4c6a 100644 --- a/gestion/saisieVotes.php +++ b/gestion/saisieVotes.php @@ -69,7 +69,7 @@ if (empty($idVotation)) votesForm($path); }else { - $query = "INSERT INTO liste_votes ('libelle', 'method', 'id_votation') VALUES (0, " . $libelle . "', '" . $method . "'," . $idVotation . ")"; + $query = "INSERT INTO liste_votes ('libelle', 'method', 'id_votation') VALUES ('" . $libelle . "', '" . $method . "'," . $idVotation . ")"; print($query); $db->query($query); }