Skip to content

Commit

Permalink
bug fixed for delete repo failed (#1193) (#1195)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Mar 10, 2017
1 parent c9baf9d commit e470612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -1585,7 +1585,7 @@ func DeleteRepository(uid, repoID int64) error {

attachments := make([]*Attachment, 0, 5)
if err = sess.
In("issue_id=?", issueIDs).
In("issue_id", issueIDs).
Find(&attachments); err != nil {
return err
}
Expand Down

0 comments on commit e470612

Please sign in to comment.