Browse Source

fix #664

pull/673/head
Unknwon 10 years ago
parent
commit
a43164877c
  1. 2
      gogs.go
  2. 2
      routers/repo/commit.go
  3. 2
      templates/.VERSION

2
gogs.go

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.5.8.1124 Beta"
const APP_VER = "0.5.8.1125 Beta"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())

2
routers/repo/commit.go

@ -62,7 +62,7 @@ func Commits(ctx *middleware.Context) {
lastPage = 0
}
nextPage := page + 1
if nextPage*50 > commitsCount {
if page*50 > commitsCount {
nextPage = 0
}

2
templates/.VERSION

@ -1 +1 @@
0.5.8.1124 Beta
0.5.8.1125 Beta
Loading…
Cancel
Save