Remove check for negative length (#5120)

This commit is contained in:
Oleg Kovalov 2018-10-20 23:25:14 +02:00 committed by techknowlogick
parent 583b1b8429
commit 5a4648cdd6
7 changed files with 8 additions and 8 deletions

View file

@ -213,7 +213,7 @@ func Issues(ctx *context.Context) {
return
}
}
if len(userRepoIDs) <= 0 {
if len(userRepoIDs) == 0 {
userRepoIDs = []int64{-1}
}