summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorFlare <flare@lefs.me>2016-11-09 13:07:01 +0800
committerFlare <flare@lefs.me>2016-11-09 13:07:01 +0800
commita6c487f6caa93c3b661ecc345b2f95c206718316 (patch)
treedf361d148655b4e08d72ef1f39dfa8aa00274081 /models
parentfd6be0d17e8174a20e5c9cc49219f0612995cce3 (diff)
downloadgitea-a6c487f6caa93c3b661ecc345b2f95c206718316.tar.gz
gitea-a6c487f6caa93c3b661ecc345b2f95c206718316.zip
Fix err not being nil
Diffstat (limited to 'models')
-rw-r--r--models/issue.go1
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
}
}