This commit is contained in:
gnieark 2015-12-04 22:21:44 +01:00
parent 651e51458e
commit 8f698ee4ea

View File

@ -34,7 +34,7 @@ switch($_POST['act']){
}
//email => doit être valide
if (filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
if (!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
$alerts.="L'email n'est pas valide\n";
}