mirror of
https://github.com/knadh/listmonk.git
synced 2025-01-29 09:40:16 +08:00
Fix empty subject on non-tpl tx subject. Closes #898.
This commit is contained in:
parent
c60412dcb3
commit
6b11020a67
1 changed files with 2 additions and 0 deletions
|
@ -600,6 +600,8 @@ func (m *TxMessage) Render(sub Subscriber, tpl *Template) error {
|
|||
}
|
||||
m.Subject = b.String()
|
||||
b.Reset()
|
||||
} else {
|
||||
m.Subject = tpl.Subject
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue