1
0
This commit is contained in:
Daniel Tartavel 2022-09-21 14:01:45 +02:00
parent 0a30f39eb4
commit cfee4d93d0
349 changed files with 4 additions and 4 deletions

View File

@ -19,13 +19,13 @@ function queryVotationName($db, $idVotation) :string
$idVotation = getpost("id");
if (!empty($idVotation))
{
$GLOBALS["idVotation"] = $idVotation;
$_SESSION["idVotation"] = $idVotation;
$votationName = queryVotationName($db, $idVotation);
}elseif (array_key_exists("idVotation", $GLOBALS))
}elseif (array_key_exists("idVotation", $_SESSION))
{
if (!empty($GLOBALS["idVotation"]))
if (!empty($_SESSION["idVotation"]))
{
$idVotation = $GLOBALS["idVotation"];
$idVotation = $_SESSION["idVotation"];
$votationName = queryVotationName($db, $idVotation);
}
}

View File

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 143 KiB

Some files were not shown because too many files have changed in this diff Show More