diff --git a/public/authors/index.html b/public/authors/index.html index ef0a37a..7df1b7c 100755 --- a/public/authors/index.html +++ b/public/authors/index.html @@ -137,14 +137,14 @@
'; + echo htmlspecialchars($mail->ErrorInfo); + echo ''; } diff --git a/static/rsvp-submit.php b/static/rsvp-submit.php index 2219ab5..3dc58b0 100755 --- a/static/rsvp-submit.php +++ b/static/rsvp-submit.php @@ -204,6 +204,7 @@ EOD; error_log('RSVP mail error: ' . $mail->ErrorInfo); - http_response_code(500); - echo 'An error occurred while sending the RSVP.'; + echo '
'; + echo htmlspecialchars($mail->ErrorInfo); + echo ''; }