1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-29 08:17:31 -04:00

bugfix: Unable to assign any issue myself

This commit is contained in:
estetsenko 2014-12-24 20:47:45 +03:00
parent c0cfd62b90
commit bae1d65564

View File

@ -472,8 +472,8 @@ func UpdateIssueUserPairByAssignee(aid, iid int64) error {
if aid == 0 { if aid == 0 {
return nil return nil
} }
rawSql = "UPDATE `issue_user` SET is_assigned = true WHERE uid = ? AND issue_id = ?" rawSql = "UPDATE `issue_user` SET is_assigned = ? WHERE uid = ? AND issue_id = ?"
_, err := x.Exec(rawSql, aid, iid) _, err := x.Exec(rawSql, true, aid, iid)
return err return err
} }