Merge pull request #24229 from Easya-Solutions/16.0_fix-ticket-public-ajax-protection2
FIX missing protection on ajax public ticket page for valid email
This commit is contained in:
commit
3a2a73fd02
@ -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')) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user