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

tokarchuk/v1.17
Ethan Koenig 8 years ago committed by Lunny Xiao
parent 0168b7073d
commit 96152c38b1
  1. 2
      models/action.go

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

Loading…
Cancel
Save