Skip to content
Snippets Groups Projects
Commit 83eecf88 authored by Torsten Oppermann's avatar Torsten Oppermann
Browse files

[TASK] Setting correct language for formhandler mails

parent 8a6279dc
No related branches found
No related tags found
No related merge requests found
......@@ -67,8 +67,10 @@ class FormhandlerFinisherService extends AbstractFinisher {
$toAddress = $this->gp['email'];
}
$language = $GLOBALS['TSFE']->config['config']['language'];
MailTemplateService::sendEmail(
'en', $this->settings['template_key'], $this->settings['extension_key'], $toAddress,
$language, $this->settings['template_key'], $this->settings['extension_key'], $toAddress,
$this->settings['from_address'], $subject, $this->gp, $this->settings['ignore_mail_queue']
);
return $this->gp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment