1
0
This commit is contained in:
Daniel Tartavel 2022-09-21 21:37:57 +02:00
parent bfc6594c2c
commit 2633bf3057

View File

@ -69,7 +69,7 @@ if (empty($idVotation))
votesForm($path); votesForm($path);
}else }else
{ {
$query = "INSERT INTO liste_votes ('id', 'libelle', 'method', 'id_votation') VALUES ('0', " . $libelle . "', '" . $method . "', '" . $idVotation . "')"; $query = "INSERT INTO liste_votes ('libelle', 'method', 'id_votation') VALUES (0, " . $libelle . "', '" . $method . "'," . $idVotation . ")";
print($query); print($query);
$db->query($query); $db->query($query);
} }