Skip to content

Commit 9afcb0e

Browse files
committed
fix
1 parent 16aee56 commit 9afcb0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

routers/web/repo/issue.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption uti
177177
ctx.Data["AllLabels"] = true
178178
} else if selectLabels == "0" {
179179
ctx.Data["NoLabel"] = true
180-
} else if len(selectLabels) > 0 {
180+
}
181+
if len(selectLabels) > 0 {
181182
labelIDs, err = base.StringsToInt64s(strings.Split(selectLabels, ","))
182183
if err != nil {
183184
ctx.ServerError("StringsToInt64s", err)

0 commit comments

Comments
 (0)