diff options
author | zeripath <art27@cantab.net> | 2019-01-29 21:26:17 +0000 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-01-29 16:26:17 -0500 |
commit | 036964b4a7c131da03ed9bdbf1f6ea2a8fc26eed (patch) | |
tree | 55fb395d5e818c691b9a8cee1348d8c69b8a06aa /models/issue_stopwatch.go | |
parent | 8917d66571a95f3da232a0c27bc1300210d10fde (diff) | |
download | gitea-036964b4a7c131da03ed9bdbf1f6ea2a8fc26eed.tar.gz gitea-036964b4a7c131da03ed9bdbf1f6ea2a8fc26eed.zip |
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>
Diffstat (limited to 'models/issue_stopwatch.go')
0 files changed, 0 insertions, 0 deletions