Lunny Xiao 2 months ago committed by GitHub
parent cd7bf77b2f
commit 9d08d3fbf5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      routers/web/repo/issue_page_meta.go

@ -195,7 +195,9 @@ func (d *IssuePageMetaData) retrieveReviewersData(ctx *context.Context) {
var reviews issues_model.ReviewList
if d.Issue == nil {
posterID = ctx.Doer.ID
if ctx.Doer != nil {
posterID = ctx.Doer.ID
}
} else {
posterID = d.Issue.PosterID
if d.Issue.OriginalAuthorID > 0 {

Loading…
Cancel
Save