From: Sam White Date: Sun, 5 Dec 2021 18:41:23 +0000 (+0000) Subject: Add contact if membership email is forgotten for event sign-up. X-Git-Url: https://git.dalvak.com/public/?a=commitdiff_plain;h=518aa5bb32e7bc64155a806c035783bb9902ef83;p=ycra.git Add contact if membership email is forgotten for event sign-up. --- 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.';