mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-02 11:47:49 +08:00
Fix err not being nil
This commit is contained in:
parent
fd6be0d17e
commit
a6c487f6ca
@ -99,6 +99,7 @@ func (issue *Issue) loadAttributes(e Engine) (err error) {
|
||||
if !IsErrUserNotExist(err) {
|
||||
return fmt.Errorf("getUserByID.(poster) [%d]: %v", issue.PosterID, err)
|
||||
}
|
||||
err = nil
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user