mirror of
https://gitee.com/gitea/gitea
synced 2025-11-10 19:40:25 +08:00
Fix bug in Action.loadRepo() (#1959)
This commit is contained in:
@@ -120,7 +120,7 @@ func (a *Action) loadActUser() {
|
||||
}
|
||||
|
||||
func (a *Action) loadRepo() {
|
||||
if a.ActUser != nil {
|
||||
if a.Repo != nil {
|
||||
return
|
||||
}
|
||||
var err error
|
||||
|
||||
Reference in New Issue
Block a user