Browse Source

Fix err not being nil

tags/v1.21.12.1
Flare 9 years ago
parent
commit
a6c487f6ca
No known key found for this signature in database GPG Key ID: 762EE3D369C1A772
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      models/issue.go

+ 1
- 0
models/issue.go 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
}
}


Loading…
Cancel
Save