diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-07-12 19:01:00 +0300 |
---|---|---|
committer | Jos Poortvliet <jos@opensuse.org> | 2018-07-19 16:56:53 +0300 |
commit | a9456a7996e31b2e5520ff7da3068ff3f18f656f (patch) | |
tree | f62ffaead37c9f700ec83fada6a173da2602e60e | |
parent | fd967605dbae738da5bbc8387c06cf417b98e03c (diff) |
Fix typo
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r-- | page-ordersubmit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/page-ordersubmit.php b/page-ordersubmit.php index f751e18c..6e1be939 100644 --- a/page-ordersubmit.php +++ b/page-ordersubmit.php @@ -78,7 +78,7 @@ if(isset($_POST['email'])) { $dollars = $_POST['dollars']; $terms = $_POST['terms'] === 'terms' ? 'yes' : 'no'; $checksum = $_POST['checksum']; // required - $captcha = $_POST['captcha'] + $captcha = $_POST['captcha']; $error_message = ""; @@ -92,7 +92,7 @@ if(isset($_POST['email'])) { $error_message .= 'The captcha result you entered does not appear to be correct. Please try again.<br />'; } } - + $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,10}$/'; if(!preg_match($email_exp,$email_from)) { $error_message .= '<li>The email address you entered does not appear to be valid.</li>'; |