Fixed always-checked mail when a new person votes feature
This commit is contained in:
parent
1afdce2c16
commit
60cff505a7
@ -60,8 +60,7 @@ if (GETPOST("creation_sondage_date") || GETPOST("creation_sondage_autre"))
|
||||
$_SESSION["adresse"] = $adresse;
|
||||
$_SESSION["commentaires"] = $commentaires;
|
||||
|
||||
unset($_SESSION["mailsonde"]);
|
||||
if ($mailsonde !== null) {
|
||||
if (GETPOST('mailsonde') == 'on') {
|
||||
$_SESSION["mailsonde"] = true;
|
||||
} else {
|
||||
$_SESSION["mailsonde"] = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user