diff options
author | Prasad Katti <prasadmkatti@gmail.com> | 2021-09-05 01:06:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 09:06:20 +0100 |
commit | 4c7a70b348426a66290f2b227693fc32049651b0 (patch) | |
tree | 526c06a79d950e1dad7b5c53a8ca2d1a8fd2a9d8 /tools | |
parent | 5a73153493332a110fb9c3ac3f716972f6a2390c (diff) | |
download | gitea-4c7a70b348426a66290f2b227693fc32049651b0.tar.gz gitea-4c7a70b348426a66290f2b227693fc32049651b0.zip |
Fix issue with issue default mail template (#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 #16877
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions