1
0
This commit is contained in:
Daniel Tartavel 2022-09-19 11:35:05 +02:00
parent aea420efdc
commit cf526f166c

View File

@ -16,16 +16,15 @@ print(' <div class="row">
$path = $_SERVER["PHP_SELF"]; $path = $_SERVER["PHP_SELF"];
$idVotation = getpost("id"); $idVotation = getpost("id");
if (empty($idVotation)) if (array_key_exists("idVotation", $GLOBALS) and empty($idVotation))
{
if (array_key_exists("idVotation", $GLOBALS))
{ {
$idVotation = $GLOBALS["idVotation"]; $idVotation = $GLOBALS["idVotation"];
}else }
if (empty($idVotation))
{ {
choixVotation($path); choixVotation($path);
} }
}
$method = getpost("method"); $method = getpost("method");
$libelle = getpost("libelle"); $libelle = getpost("libelle");