diff options
author | 无闻 <u@gogs.io> | 2014-12-29 20:08:39 +0800 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2014-12-29 20:08:39 +0800 |
commit | 477bea574a2c8c84fea9b6a1254022974d73acde (patch) | |
tree | 9eded1515fede2c85a4c0b55cebe2ea3b8306053 /models | |
parent | 37566f71a9ecb7a6c026176b6dbb0d84f3d83432 (diff) | |
parent | bae1d655640d901345c18ec9689fd33eaf0a9760 (diff) | |
download | gitea-477bea574a2c8c84fea9b6a1254022974d73acde.tar.gz gitea-477bea574a2c8c84fea9b6a1254022974d73acde.zip |
Merge pull request #782 from estetsenko/dev
fix for #747
Diffstat (limited to 'models')
-rw-r--r-- | models/issue.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/issue.go b/models/issue.go index 8004647c72..c756e49759 100644 --- a/models/issue.go +++ b/models/issue.go @@ -472,8 +472,8 @@ func UpdateIssueUserPairByAssignee(aid, iid int64) error { if aid == 0 { return nil } - rawSql = "UPDATE `issue_user` SET is_assigned = true WHERE uid = ? AND issue_id = ?" - _, err := x.Exec(rawSql, aid, iid) + rawSql = "UPDATE `issue_user` SET is_assigned = ? WHERE uid = ? AND issue_id = ?" + _, err := x.Exec(rawSql, true, aid, iid) return err } |