mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
bug fix release
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
b316b2e740
commit
7209917fd7
@@ -71,6 +71,11 @@ func Releases(ctx *context.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if len(rawTags) == 0 {
|
||||
ctx.HTML(200, tplReleases)
|
||||
return
|
||||
}
|
||||
|
||||
if len(rawTags) <= (page-1)*limit {
|
||||
ctx.Handle(500, "Releases", errors.New("no more pages"))
|
||||
return
|
||||
|
Reference in New Issue
Block a user