aboutsummaryrefslogtreecommitdiffstats
path: root/models/issues/issue_update.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/issue_update.go')
-rw-r--r--models/issues/issue_update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/issue_update.go b/models/issues/issue_update.go
index bebd5f4cd6..b6fd720fe5 100644
--- a/models/issues/issue_update.go
+++ b/models/issues/issue_update.go
@@ -81,7 +81,7 @@ func doChangeIssueStatus(ctx context.Context, issue *Issue, doer *user_model.Use
}
// Update issue count of labels
- if err := issue.getLabels(ctx); err != nil {
+ if err := issue.LoadLabels(ctx); err != nil {
return nil, err
}
for idx := range issue.Labels {