Browse Source

bug fixed for delete repo failed (#1193)

tags/v1.21.12.1
Lunny Xiao GitHub 9 years ago
parent
commit
f5476bdbb1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/repo.go

+ 1
- 1
models/repo.go View File

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