summaryrefslogtreecommitdiffstats
path: root/models/action.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/action.go')
-rw-r--r--models/action.go2
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