aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_comment.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-05-06 20:09:31 +0800
committerGitHub <noreply@github.com>2019-05-06 20:09:31 +0800
commit2382f1b057bb582abc87a030f0463e3b1f6fb118 (patch)
treea9876ef817bf72ddeafbb0a5721aaa49f0f7650d /models/issue_comment.go
parentdab38c375df5c4719d35f1be29278d254d68390f (diff)
downloadgitea-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.go1
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
}