aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_user.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_user.go')
-rw-r--r--models/issue_user.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_user.go b/models/issue_user.go
index e0110e6dc5..1aded0b440 100644
--- a/models/issue_user.go
+++ b/models/issue_user.go
@@ -101,7 +101,7 @@ func UpdateIssueUsersByMentions(e Engine, issueID int64, uids []int64) error {
iu.IsMentioned = true
if has {
- _, err = e.Id(iu.ID).Cols("is_mentioned").Update(iu)
+ _, err = e.ID(iu.ID).Cols("is_mentioned").Update(iu)
} else {
_, err = e.Insert(iu)
}