mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
#1597 fix pull request remote head can't update with force push
This commit is contained in:
@@ -301,7 +301,7 @@ func newIssue(e *xorm.Session, repo *Repository, issue *Issue, labelIDs []int64,
|
||||
// So we have to get all needed labels first.
|
||||
labels := make([]*Label, 0, len(labelIDs))
|
||||
if err = e.In("id", labelIDs).Find(&labels); err != nil {
|
||||
return fmt.Errorf("Find all labels: %v", err)
|
||||
return fmt.Errorf("find all labels: %v", err)
|
||||
}
|
||||
|
||||
for _, label := range labels {
|
||||
|
Reference in New Issue
Block a user