1
0
This commit is contained in:
Daniel Tartavel 2022-09-26 11:56:54 +02:00
parent 943961cca2
commit 283d9c52b0

View File

@ -16,7 +16,7 @@ if (!empty($candidat))
{ {
$query = "INSERT INTO liste_candidats VALUES (0, " . $db->protect($idVotation) . ", " . $db->protect($idVote) . ",'" . $db->protect($libelle) . "', '". $db->protect($candidat) . "')"; $query = "INSERT INTO liste_candidats VALUES (0, " . $db->protect($idVotation) . ", " . $db->protect($idVote) . ",'" . $db->protect($libelle) . "', '". $db->protect($candidat) . "')";
$db->query($query); $db->query($query);
header("Location: " . $$base_url . "/" . $path , TRUE, 301); header("Location: " . $base_url . "/" . $path , TRUE, 301);
return; return;
}else }else
{ {