mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-02 14:57:37 +03:00
Fix engine bug in getIssueByID (#1934)
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user