diff --git a/src/act.php b/src/act.php index 4227157..92d7fc7 100644 --- a/src/act.php +++ b/src/act.php @@ -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"; }