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["adresse"] = $adresse;
|
||||||
$_SESSION["commentaires"] = $commentaires;
|
$_SESSION["commentaires"] = $commentaires;
|
||||||
|
|
||||||
unset($_SESSION["mailsonde"]);
|
if (GETPOST('mailsonde') == 'on') {
|
||||||
if ($mailsonde !== null) {
|
|
||||||
$_SESSION["mailsonde"] = true;
|
$_SESSION["mailsonde"] = true;
|
||||||
} else {
|
} else {
|
||||||
$_SESSION["mailsonde"] = false;
|
$_SESSION["mailsonde"] = false;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user