Skip to content
Snippets Groups Projects
Commit 38399b02 authored by Paul Ilea's avatar Paul Ilea
Browse files

[BUGFIX] Fix mail content fallback

parent f519f807
No related branches found
No related tags found
No related merge requests found
......@@ -360,7 +360,7 @@ class MailTemplateService {
$emailView->assignMultiple($this->markers);
$emailView->assign('all_fields', $this->getAllMarker($this->markers));
if (NULL === $defaultTemplateContent) {
if ($template !== NULL) {
$emailView->setTemplateSource(\trim($template->getSubject()));
$subject = $emailView->render();
......
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