1
0
This commit is contained in:
Daniel Tartavel 2022-09-21 21:40:49 +02:00
parent 2633bf3057
commit ebcb00f997

View File

@ -69,7 +69,7 @@ if (empty($idVotation))
votesForm($path); votesForm($path);
}else }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); print($query);
$db->query($query); $db->query($query);
} }