1
0
This commit is contained in:
Daniel Tartavel 2022-09-19 12:59:40 +02:00
parent eaf5330e23
commit e7a4ea6b25
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ if (empty($action))
if (empty($idVotation))
{
// choix de la votation à cloturer
choixVotation('./modifVotation.php',1 );
choixVotation('./modifVotation.php', 0);
}else
{
//TODO alert "Do you want to delete ..."

View File

@ -23,7 +23,7 @@ if (array_key_exists("idVotation", $GLOBALS) and empty($idVotation))
if (empty($idVotation))
{
choixVotation($path, 1, false);
choixVotation($path, 0, false);
}else
{
$method = getpost("method");

View File

@ -44,7 +44,7 @@ function mb_ucfirst($str)
return $char . $str;
}
function choixVotation($path, $methode = 2, $confirm = true) //2 = toutes les votations 1 = votations en cours 0 = votations cloturées
function choixVotation($path, $methode = 2, $confirm = true) //2 = toutes les votations 0 = votations en cours 1 = votations cloturées
{
global $base_url, $action;