mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 19:34:08 +01:00
Fix err not being nil
This commit is contained in:
parent
fd6be0d17e
commit
a6c487f6ca
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ func (issue *Issue) loadAttributes(e Engine) (err error) {
|
||||||
if !IsErrUserNotExist(err) {
|
if !IsErrUserNotExist(err) {
|
||||||
return fmt.Errorf("getUserByID.(poster) [%d]: %v", issue.PosterID, err)
|
return fmt.Errorf("getUserByID.(poster) [%d]: %v", issue.PosterID, err)
|
||||||
}
|
}
|
||||||
|
err = nil
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue