|
|
@ -254,10 +254,12 @@ func ViewIssue(ctx *middleware.Context, params martini.Params) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Update issue-user.
|
|
|
|
if ctx.IsSigned { |
|
|
|
if err = models.UpdateIssueUserPairByRead(ctx.User.Id, issue.Id); err != nil { |
|
|
|
// Update issue-user.
|
|
|
|
ctx.Handle(500, "issue.ViewIssue(UpdateIssueUserPairByRead): %v", err) |
|
|
|
if err = models.UpdateIssueUserPairByRead(ctx.User.Id, issue.Id); err != nil { |
|
|
|
return |
|
|
|
ctx.Handle(500, "issue.ViewIssue(UpdateIssueUserPairByRead): %v", err) |
|
|
|
|
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Get poster and Assignee.
|
|
|
|
// Get poster and Assignee.
|
|
|
|