0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 09:04:45 +01:00

Fix err not being nil

This commit is contained in:
Flare 2016-11-09 13:07:01 +08:00
parent fd6be0d17e
commit a6c487f6ca
No known key found for this signature in database
GPG key ID: 762EE3D369C1A772

View file

@ -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
}
}