Browse Source

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

for-closed-social
Ethan Koenig 7 years ago
committed by Lunny Xiao
parent
commit
96152c38b1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/action.go

+ 1
- 1
models/action.go View File

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

Loading…
Cancel
Save