Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with issue default mail template (go-gitea#16956)
Backport go-gitea#16956 The mail template rendering was failing with the error - `...vices/mailer/mail.go:301:composeIssueCommentMessages() [E] ExecuteTemplate [issue/default/body]: template: issue/default:65:10: executing "issue/default" at <.i18n.Tr>: can't evaluate field i18n in type *models.Comment` The issue was the template variable i18n is available in the outer scope. Fix go-gitea#16877
- Loading branch information