Fix err not being nil

tokarchuk/v1.17
Flare 8 years ago
parent fd6be0d17e
commit a6c487f6ca
No known key found for this signature in database
GPG Key ID: 762EE3D369C1A772
  1. 1
      models/issue.go

@ -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…
Cancel
Save