mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 04:38:27 +01:00
Fixes #4096 - GDPR value missing from contact form results.
This commit is contained in:
parent
3a4b89f803
commit
15c97cf73a
@ -191,7 +191,7 @@ if(isset($_POST['send-contactus']))
|
||||
|
||||
$CONTACT_EMAIL = e107::getCoreTemplate('contact','email');
|
||||
|
||||
unset($_POST['contact_person'], $_POST['author_name'], $_POST['email_send'] , $_POST['subject'], $_POST['body'], $_POST['rand_num'], $_POST['code_verify'], $_POST['send-contactus'], $_POST['g-recaptcha-response'], $_POST['gdpr']);
|
||||
unset($_POST['contact_person'], $_POST['author_name'], $_POST['email_send'] , $_POST['subject'], $_POST['body'], $_POST['rand_num'], $_POST['code_verify'], $_POST['send-contactus']);
|
||||
|
||||
if(!empty($_POST)) // support for custom fields in contact template.
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user