repo: fix cannot fork repository (#4572)

Should not load attributes if repository not found in HasForkedRepo.
This commit is contained in:
Unknwon
2017-07-18 12:56:23 -04:00
parent e02fac4968
commit dc10594d7b
3 changed files with 5 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ import (
"github.com/gogits/gogs/pkg/setting"
)
const APP_VER = "0.11.26.0714"
const APP_VER = "0.11.27.0718"
func init() {
setting.AppVer = APP_VER