From 8f698ee4eaaa3aaa40886aceccebd26304c93f94 Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 4 Dec 2015 22:21:44 +0100 Subject: [PATCH] plop --- src/act.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }