summaryrefslogtreecommitdiffstats
path: root/services/issue/content.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/issue/content.go')
-rw-r--r--services/issue/content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/issue/content.go b/services/issue/content.go
index 6d7883090b..a60878479b 100644
--- a/services/issue/content.go
+++ b/services/issue/content.go
@@ -14,7 +14,7 @@ import (
func ChangeContent(issue *models.Issue, doer *user_model.User, content string) (err error) {
oldContent := issue.Content
- if err := issue.ChangeContent(doer, content); err != nil {
+ if err := models.ChangeIssueContent(issue, doer, content); err != nil {
return err
}