Merge pull request #24245 from hregis/fix_right_access_problem
FIX FILTER_VALIDATE_EMAIL param is not a string
This commit is contained in:
commit
db5f414839
@ -55,7 +55,7 @@ include_once '../../../main.inc.php'; // Load $user and permissions
|
|||||||
|
|
||||||
$action = GETPOST('action', 'aZ09');
|
$action = GETPOST('action', 'aZ09');
|
||||||
$id = GETPOST('id', 'int');
|
$id = GETPOST('id', 'int');
|
||||||
$email = GETPOST('email', 'custom', 0, 'FILTER_VALIDATE_EMAIL');
|
$email = GETPOST('email', 'custom', 0, FILTER_VALIDATE_EMAIL);
|
||||||
|
|
||||||
|
|
||||||
if (!isModEnabled('ticket')) {
|
if (!isModEnabled('ticket')) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user