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

[BUG] Fixing wrong recipient address

parent 4debb435
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ class MailTemplateService extends AbstractFinisher {
$subject = $translator->sL($this->tsConfig['subject'], TRUE);
$toAddress = $this->tsConfig['to_address'];
if (isset($this->gp['email'])) {
if ($toAddress === 'email') {
$toAddress = $this->gp['email'];
}
......
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