Browse Source

Warning en moins

pull/7/head
Matthieu Marcillaud 1 year ago
parent
commit
80cbae1353
  1. 5
      nospam/verifier_formulaire_forum.php

5
nospam/verifier_formulaire_forum.php

@ -63,12 +63,11 @@ function nospam_verifier_formulaire_forum_dist($flux){
if (!count($flux['data'])){
if (nospam_check_ip_status($GLOBALS['ip'])!=='ok'){
session_start();
if ($_SESSION['notabuse_checked']){
if (!empty($_SESSION['notabuse_checked'])) {
// ok on retire de la session le check qui ne sert qu'une fois
unset($_SESSION['notabuse_checked']);
// et on laisse passer
}
else {
} else {
$flux['data']['texte'] = _T('nospam:info_ip_suspecte')."<br />
<span class='choix'>
<input type='checkbox' name='notabuse' value='1' id='notabuse'/> <label for='notabuse'>"

Loading…
Cancel
Save