diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go index 21ac984c2c..cbbdc38a8b 100644 --- a/routers/web/user/profile.go +++ b/routers/web/user/profile.go @@ -228,10 +228,10 @@ func Profile(ctx *context.Context) { switch tab { case "followers": ctx.Data["Cards"] = followers - total = int(count) + total = int(numFollowers) case "following": ctx.Data["Cards"] = following - total = int(count) + total = int(numFollowing) case "activity": date := ctx.FormString("date") items, count, err := activities_model.GetFeeds(ctx, activities_model.GetFeedsOptions{