forked from gitea/gitea
1
0
Fork 0

Fix bug in Action.loadRepo() (#1959)

This commit is contained in:
Ethan Koenig 2017-06-13 20:37:50 -04:00 committed by Lunny Xiao
parent 0168b7073d
commit 96152c38b1
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ func (a *Action) loadActUser() {
}
func (a *Action) loadRepo() {
if a.ActUser != nil {
if a.Repo != nil {
return
}
var err error