debug
This commit is contained in:
parent
0a30f39eb4
commit
cfee4d93d0
@ -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);
|
||||
}
|
||||
}
|
||||
|
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
Reference in New Issue
Block a user