summaryrefslogtreecommitdiffstats
path: root/routers/user/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/user/home.go')
-rw-r--r--routers/user/home.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 0c84b2498e..cbab5c8350 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -213,7 +213,7 @@ func Issues(ctx *context.Context) {
return
}
}
- if len(userRepoIDs) <= 0 {
+ if len(userRepoIDs) == 0 {
userRepoIDs = []int64{-1}
}