Browse Source

Merge pull request #782 from estetsenko/dev

fix for  #747
pull/800/head
无闻 10 years ago
parent
commit
477bea574a
  1. 4
      models/issue.go

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

Loading…
Cancel
Save