aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index b88500e8..15e283d1 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -153,7 +153,7 @@ func checkPullInfo(ctx *context.Context) *models.Issue {
return nil
}
- if ctx.IsSigned {
+ if ctx.IsLogged {
// Update issue-user.
if err = issue.ReadBy(ctx.User.ID); err != nil {
ctx.Handle(500, "ReadBy", err)