fix: Not just pass it along but really use the subject ;)
This commit is contained in:
parent
9251b10253
commit
6526fc615d
@ -19,7 +19,7 @@ function sanitize_text(string $name) {
|
|||||||
function send_message_to_office($subject, $message, $name, $email) {
|
function send_message_to_office($subject, $message, $name, $email) {
|
||||||
return mail(
|
return mail(
|
||||||
getenv('WTF_CONTACT_TO'),
|
getenv('WTF_CONTACT_TO'),
|
||||||
'spielwiese contact form',
|
$subject,
|
||||||
$name . "\r\n" . $message,
|
$name . "\r\n" . $message,
|
||||||
$additional_headers = array(
|
$additional_headers = array(
|
||||||
"From" => getenv('WTF_CONTACT_FROM'),
|
"From" => getenv('WTF_CONTACT_FROM'),
|
||||||
|
Loading…
Reference in New Issue
Block a user