Commit 0b54d133 authored by Philip Müller's avatar Philip Müller

[site][content] update contact script

parent 2d5f20e3
Pipeline #5 canceled with stages
......@@ -38,13 +38,13 @@ try
if (isset($fields[$key])) {
$emailText .= "$fields[$key]: $value\n";
if ( $fields[$key] = "Email" ) {
$fromEmail = $value
$fromEmail = $value;
}
if ( $fields[$key] = "Name" ) {
$fromName = $value
$fromName = $value;
}
if ( $fields[$key] = "Surname" ) {
$fromSurname = $value
$fromSurname = $value;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment