mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
Fix bug in Action.loadRepo() (#1959)
This commit is contained in:
parent
0168b7073d
commit
96152c38b1
@ -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…
Reference in New Issue
Block a user