diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-05-06 20:09:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 20:09:31 +0800 |
commit | 2382f1b057bb582abc87a030f0463e3b1f6fb118 (patch) | |
tree | a9876ef817bf72ddeafbb0a5721aaa49f0f7650d /models/issue_comment.go | |
parent | dab38c375df5c4719d35f1be29278d254d68390f (diff) | |
download | gitea-2382f1b057bb582abc87a030f0463e3b1f6fb118.tar.gz gitea-2382f1b057bb582abc87a030f0463e3b1f6fb118.zip |
fix 500 when reviewer is deleted with integration tests (#6856)
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r-- | models/issue_comment.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go index a1c2364b0b..a7d6e2e3e8 100644 --- a/models/issue_comment.go +++ b/models/issue_comment.go @@ -447,6 +447,7 @@ func (c *Comment) loadReview(e Engine) (err error) { return err } } + c.Review.Issue = c.Issue return nil } |