diff options
Diffstat (limited to 'models')
-rw-r--r-- | models/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue.go b/models/issue.go index 325c2c938c..5ae7f32bcd 100644 --- a/models/issue.go +++ b/models/issue.go @@ -410,7 +410,7 @@ func Issues(uid, assigneeID, repoID, posterID, milestoneID int64, repoIDs []int6 if repoID > 0 { sess.Where("issue.repo_id=?", repoID).And("issue.is_closed=?", isClosed) } else if repoIDs != nil { - sess.Where("issue.repo_id IN (?)", strings.Join(base.Int64sToStrings(repoIDs), ",")).And("issue.is_closed=?", isClosed) + sess.Where("issue.repo_id IN ("+strings.Join(base.Int64sToStrings(repoIDs), ",")+")").And("issue.is_closed=?", isClosed) } else { sess.Where("issue.is_closed=?", isClosed) } |