0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 14:34:05 +01:00

Fix engine bug in getIssueByID (#1934)

This commit is contained in:
Ethan Koenig 2017-06-11 02:39:12 -04:00 committed by Lunny Xiao
parent e0a63a20e0
commit 9fbdd7d787

View file

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