diff options
author | zeripath <art27@cantab.net> | 2019-01-29 22:44:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-29 22:44:00 +0000 |
commit | 0190d3c243db391e7d9df5726449f5e44534e950 (patch) | |
tree | e76e86fd23b93217f412d368c4c41b00b5cd99b9 /modules/context | |
parent | 4fe1a3050ee0c5401d766ce5bac5ba068316c72f (diff) | |
download | gitea-0190d3c243db391e7d9df5726449f5e44534e950.tar.gz gitea-0190d3c243db391e7d9df5726449f5e44534e950.zip |
Prevent nil dereference in mailIssueCommentToParticipants (#5891, #5895) (#5894)
* 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>
* Also ensure the repo is loaded
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/context')
0 files changed, 0 insertions, 0 deletions