1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-07 09:15:53 +01:00

bug fixed for delete repo failed (#1193)

This commit is contained in:
Lunny Xiao 2017-03-10 22:05:53 +08:00 committed by GitHub
parent 656efdc1c7
commit f5476bdbb1

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