summaryrefslogtreecommitdiffstats
path: root/modules/context
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context')
-rw-r--r--modules/context/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/context.go b/modules/context/context.go
index 10a84cd9b1..d050d3a938 100644
--- a/modules/context/context.go
+++ b/modules/context/context.go
@@ -211,7 +211,7 @@ func Contexter() macaron.Handler {
ctx.Data["SignedUserName"] = ctx.User.Name
ctx.Data["IsAdmin"] = ctx.User.IsAdmin
} else {
- ctx.Data["SignedUserID"] = 0
+ ctx.Data["SignedUserID"] = int64(0)
ctx.Data["SignedUserName"] = ""
}