From 15c97cf73a7c4fb9350bccf195e4e924364b2a7d Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 15 Feb 2020 10:29:56 -0800 Subject: [PATCH] Fixes #4096 - GDPR value missing from contact form results. --- contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contact.php b/contact.php index f3cdabc74..0944629e9 100644 --- a/contact.php +++ b/contact.php @@ -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. {