mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 12:02:56 +02:00
Remove check for negative length (#5120)
This commit is contained in:
1 parent
583b1b8429
commit
5a4648cdd6
7 files changed
+8
-8
No files matched your search
@@ -213,7 +213,7 @@ func Issues(ctx *context.Context) {
|
||||
return
|
||||
}
|
||||
}
|
||||
if len(userRepoIDs) <= 0 {
|
||||
if len(userRepoIDs) == 0 {
|
||||
userRepoIDs = []int64{-1}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user