summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-13 23:21:43 +0800
committerUnknwon <u@gogs.io>2015-08-13 23:21:43 +0800
commit1fb53067f478414302096d5d976a3db85df9e2eb (patch)
treeb1b8ba83989fe5edd346a26c6bd0068abbb4d533 /models/action.go
parent0ec7d1539b177dbe55f3c68691b0c9f8e35193a9 (diff)
downloadgitea-1fb53067f478414302096d5d976a3db85df9e2eb.tar.gz
gitea-1fb53067f478414302096d5d976a3db85df9e2eb.zip
finish close/reopen issue
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go
index a053a18976..de7f93a973 100644
--- a/models/action.go
+++ b/models/action.go
@@ -153,7 +153,7 @@ func updateIssuesCommit(u *User, repo *Repository, repoUserName, repoName string
url := fmt.Sprintf("%s/%s/%s/commit/%s", setting.AppSubUrl, repoUserName, repoName, c.Sha1)
message := fmt.Sprintf(`<a href="%s">%s</a>`, url, c.Message)
- if _, err = CreateComment(u, repo, issue, 0, 0, COMMENT_TYPE_COMMIT, message, nil); err != nil {
+ if _, err = CreateComment(u, repo, issue, 0, 0, COMMENT_TYPE_COMMIT_REF, message, nil); err != nil {
return err
}
}