diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-06-13 20:37:50 -0400 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-06-14 08:37:50 +0800 |
commit | 96152c38b1eb4243350f8457eee631205c8e499a (patch) | |
tree | ab484b184f49e8d753e035a9d9f3dda1b1830fc3 /models/action.go | |
parent | 0168b7073d8dfb7cb0b5a1471e33fe02c7a13e83 (diff) | |
download | gitea-96152c38b1eb4243350f8457eee631205c8e499a.tar.gz gitea-96152c38b1eb4243350f8457eee631205c8e499a.zip |
Fix bug in Action.loadRepo() (#1959)
Diffstat (limited to 'models/action.go')
-rw-r--r-- | models/action.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/action.go b/models/action.go index 275914b32b..bf3ce027cf 100644 --- a/models/action.go +++ b/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 |