diff --git a/htdocs/public/ticket/ajax/ajax.php b/htdocs/public/ticket/ajax/ajax.php index e125b0122e7..9092bf37b77 100644 --- a/htdocs/public/ticket/ajax/ajax.php +++ b/htdocs/public/ticket/ajax/ajax.php @@ -55,7 +55,7 @@ include_once '../../../main.inc.php'; // Load $user and permissions $action = GETPOST('action', 'aZ09'); $id = GETPOST('id', 'int'); -$email = GETPOST('email', 'alphanohtml'); +$email = GETPOST('email', 'custom', 0, FILTER_VALIDATE_EMAIL); if (!isModEnabled('ticket')) {