Browse Source

Fix err not being nil

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

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