Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

Fix empty subject on non-tpl tx subject. Closes #898.

Kailash Nadh6b11020a672e
diff --git a/models/models.go b/models/models.go
index 3a789b3a..f3bc0721 100644
--- a/models/models.go
+++ b/models/models.go
@@ -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