FIX FILTER_VALIDATE_EMAIL param is not a string

This commit is contained in:
Regis Houssin 2023-03-17 06:43:15 +01:00
parent 3a2a73fd02
commit bb7b69ef43

View File

@ -55,7 +55,7 @@ include_once '../../../main.inc.php'; // Load $user and permissions
$action = GETPOST('action', 'aZ09');
$id = GETPOST('id', 'int');
$email = GETPOST('email', 'custom', 0, 'FILTER_VALIDATE_EMAIL');
$email = GETPOST('email', 'custom', 0, FILTER_VALIDATE_EMAIL);
if (!isModEnabled('ticket')) {