]> source.dussan.org Git - gitea.git/commit
Ensure issue.Poster is loaded in mailIssueCommentToParticipants (#5891)
authorzeripath <art27@cantab.net>
Tue, 29 Jan 2019 21:26:17 +0000 (21:26 +0000)
committertechknowlogick <matti@mdranta.net>
Tue, 29 Jan 2019 21:26:17 +0000 (16:26 -0500)
commit036964b4a7c131da03ed9bdbf1f6ea2a8fc26eed
tree55fb395d5e818c691b9a8cee1348d8c69b8a06aa
parent8917d66571a95f3da232a0c27bc1300210d10fde
Ensure issue.Poster is loaded in mailIssueCommentToParticipants (#5891)

Previous code could potentially dereference nil - this PR ensures
that the poster is loaded before dereferencing it.

Signed-off-by: Andrew Thornton <art27@cantab.net>
models/issue_mail.go