diff options
author | Flare <flare@lefs.me> | 2016-11-09 13:07:01 +0800 |
---|---|---|
committer | Flare <flare@lefs.me> | 2016-11-09 13:07:01 +0800 |
commit | a6c487f6caa93c3b661ecc345b2f95c206718316 (patch) | |
tree | df361d148655b4e08d72ef1f39dfa8aa00274081 /models | |
parent | fd6be0d17e8174a20e5c9cc49219f0612995cce3 (diff) | |
download | gitea-a6c487f6caa93c3b661ecc345b2f95c206718316.tar.gz gitea-a6c487f6caa93c3b661ecc345b2f95c206718316.zip |
Fix err not being nil
Diffstat (limited to 'models')
-rw-r--r-- | models/issue.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/issue.go b/models/issue.go index 569d8aa940..6ef5ae6218 100644 --- a/models/issue.go +++ b/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 } } |