From 518aa5bb32e7bc64155a806c035783bb9902ef83 Mon Sep 17 00:00:00 2001 From: Sam White Date: Sun, 5 Dec 2021 18:41:23 +0000 Subject: [PATCH] Add contact if membership email is forgotten for event sign-up. --- public_html/winter-event.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public_html/winter-event.php b/public_html/winter-event.php index de2a4b8..c00ec63 100644 --- a/public_html/winter-event.php +++ b/public_html/winter-event.php @@ -9,7 +9,8 @@ require_once('includes/database.php'); function validate_submission(&$errors, $data) { if (validate_email_address($errors, $data['email_address'])) { if (!record_exists('members', simple_where('email_address', $data['email_address']))) - $errors[] = 'Please enter the email address you used to sign up for membership.'; + $errors[] = 'Please enter the email address you used to sign up for membership. ' + . 'If you have forgotten this email address, please contact us at events@ycra.org.uk so we can assist you.'; } if (empty($data['consent']) && !array_key_exists('confirm', $data)) $errors[] = 'You must give your consent for us to process your data.'; -- 2.25.1