summaryrefslogtreecommitdiffstats
path: root/models/issue.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue.go')
-rw-r--r--models/issue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go
index b78c6ba3f1..8340595fca 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -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.