Skip to content

Commit

Permalink
bug fixed for delete repo failed (#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Mar 10, 2017
1 parent 656efdc commit f5476bd
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 f5476bd

Please sign in to comment.