1
0
This commit is contained in:
Daniel Tartavel 2022-09-29 14:04:15 +02:00
parent 7dfe6ba3d5
commit e0296f3756

View File

@ -23,7 +23,7 @@ if (!empty($idVotation))
}else }else
{ {
$_SESSION["idVotation"] = $idVotation; $_SESSION["idVotation"] = $idVotation;
$votationName = $db->queryVotationName($db, $idVotation); $votationName = $db->queryVotationName($idVotation);
} }
}else }else
{ {
@ -32,7 +32,7 @@ if (!empty($idVotation))
if (!empty($_SESSION["idVotation"])) if (!empty($_SESSION["idVotation"]))
{ {
$idVotation = $_SESSION["idVotation"]; $idVotation = $_SESSION["idVotation"];
$votationName = $db->queryVotationName($db, $idVotation); $votationName = $db->queryVotationName($idVotation);
} }
} }
} }
@ -45,7 +45,7 @@ print('<br><br>
print(' <div class="row"> print(' <div class="row">
<div class="col-lg-12 text-center">'); <div class="col-lg-12 text-center">');
$votes = $db->queryVotes($db, $idVotation); $votes = $db->queryVotes($idVotation);
if (!empty($votes)) if (!empty($votes))
{ {
print("<table><tr><td>"); print("<table><tr><td>");