Browse Source

Fix err not being nil

for-closed-social
Flare 8 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) { if !IsErrUserNotExist(err) {
return fmt.Errorf("getUserByID.(poster) [%d]: %v", issue.PosterID, err) return fmt.Errorf("getUserByID.(poster) [%d]: %v", issue.PosterID, err)
} }
err = nil
return return
} }
} }

Loading…
Cancel
Save