mirror of
https://github.com/gogs/gogs.git
synced 2025-12-24 01:00:00 +01:00
fix #664
This commit is contained in:
@@ -62,7 +62,7 @@ func Commits(ctx *middleware.Context) {
|
||||
lastPage = 0
|
||||
}
|
||||
nextPage := page + 1
|
||||
if nextPage*50 > commitsCount {
|
||||
if page*50 > commitsCount {
|
||||
nextPage = 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user