mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	bug fixed for delete repo failed (#1193)
This commit is contained in:
		@@ -1585,7 +1585,7 @@ func DeleteRepository(uid, repoID int64) error {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		attachments := make([]*Attachment, 0, 5)
 | 
							attachments := make([]*Attachment, 0, 5)
 | 
				
			||||||
		if err = sess.
 | 
							if err = sess.
 | 
				
			||||||
			In("issue_id=?", issueIDs).
 | 
								In("issue_id", issueIDs).
 | 
				
			||||||
			Find(&attachments); err != nil {
 | 
								Find(&attachments); err != nil {
 | 
				
			||||||
			return err
 | 
								return err
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user