Merge pull request #782 from estetsenko/dev

fix for  #747
This commit is contained in:
无闻 2014-12-29 20:08:39 +08:00
commit 477bea574a
1 changed files with 2 additions and 2 deletions

View File

@ -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
}