Update contact.php

little correction
This commit is contained in:
Fraenkiman 2023-02-27 23:07:58 +01:00
parent 9a628f8153
commit d617252956

View File

@ -112,7 +112,7 @@ function contact_form() {
// send notification mail to site admin
// for non-ASCII characters in the e-mail header use RFC 1342 — Encodes data with MIME base64 and splits the encrypted subject
$success = @utils_mail((isset($validationResult ['email']) ? $validationResult ['email'] : $fp_config ['general'] ['email']), "=?utf-8?B?" . base64_encode($lang ['contact'] ['notification'] ['subject']) . "=?= =?utf-8?B?" . base64_encode($fp_config ['general'] ['title']) . "==?=", $msg);
$success = @utils_mail((isset($validationResult ['email']) ? $validationResult ['email'] : $fp_config ['general'] ['email']), '=?utf-8?B?' . base64_encode($lang ['contact'] ['notification'] ['subject']) . '=?= =?utf-8?B?' . base64_encode($fp_config ['general'] ['title']) . '==?=', $msg);
system_seterr('contact', $success ? 1 : -1);
utils_redirect(basename(__FILE__));
}