diff options
author | Unknwon <u@gogs.io> | 2015-08-10 21:47:23 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-10 21:47:23 +0800 |
commit | 75aff60c903c2c5ab92d75c9f067d6815f3daa2e (patch) | |
tree | e12104d0fbb25f15c41ee83c6c47acf9841df703 /routers/user/home.go | |
parent | 09a1b2a1f5ca4c510be2828635a790b2a775ac94 (diff) | |
download | gitea-75aff60c903c2c5ab92d75c9f067d6815f3daa2e.tar.gz gitea-75aff60c903c2c5ab92d75c9f067d6815f3daa2e.zip |
finish create issue with milestone and assignee
Diffstat (limited to 'routers/user/home.go')
-rw-r--r-- | routers/user/home.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index a36483630e..1c9e82c6df 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -339,13 +339,13 @@ func Issues(ctx *middleware.Context) { issues := make([]*models.Issue, len(ius)) for i := range ius { - issues[i], err = models.GetIssueById(ius[i].IssueId) + issues[i], err = models.GetIssueById(ius[i].IssueID) if err != nil { if err == models.ErrIssueNotExist { - log.Warn("user.Issues(GetIssueById #%d): issue not exist", ius[i].IssueId) + log.Warn("user.Issues(GetIssueById #%d): issue not exist", ius[i].IssueID) continue } else { - ctx.Handle(500, fmt.Sprintf("user.Issues(GetIssueById #%d)", ius[i].IssueId), err) + ctx.Handle(500, fmt.Sprintf("user.Issues(GetIssueById #%d)", ius[i].IssueID), err) return } } |