From 360f90fc9dde3e3e1c65d91fefed3240bb3fe5a6 Mon Sep 17 00:00:00 2001 From: muli Date: Tue, 9 Aug 2022 17:42:35 +0200 Subject: [PATCH] fix: Not just pass it along but really use the subject ;) --- assets/php/contact_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/php/contact_form.php b/assets/php/contact_form.php index cdc4ce6..e9bb87e 100644 --- a/assets/php/contact_form.php +++ b/assets/php/contact_form.php @@ -19,7 +19,7 @@ function sanitize_text(string $name) { function send_message_to_office($subject, $message, $name, $email) { return mail( getenv('WTF_CONTACT_TO'), - 'spielwiese contact form', + $subject, $name . "\r\n" . $message, $additional_headers = array( "From" => getenv('WTF_CONTACT_FROM'),