bug fixed for delete repo failed (#1193)

tokarchuk/v1.17
Lunny Xiao 8 years ago committed by GitHub
parent 656efdc1c7
commit f5476bdbb1
  1. 2
      models/repo.go

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

Loading…
Cancel
Save