Browse Source

Fix engine bug in getIssueByID (#1934)

tags/v1.2.0-rc1
Ethan Koenig 8 years ago committed by Lunny Xiao
parent
commit
9fbdd7d787
  1. 2
      models/issue.go

2
models/issue.go

@ -993,7 +993,7 @@ func getIssueByID(e Engine, id int64) (*Issue, error) {
} else if !has { } else if !has {
return nil, ErrIssueNotExist{id, 0, 0} return nil, ErrIssueNotExist{id, 0, 0}
} }
return issue, issue.LoadAttributes() return issue, issue.loadAttributes(e)
} }
// GetIssueByID returns an issue by given ID. // GetIssueByID returns an issue by given ID.

Loading…
Cancel
Save