diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/web/user/profile.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/web/user/profile.go b/routers/web/user/profile.go index 71d10ab4c1..380a681b9d 100644 --- a/routers/web/user/profile.go +++ b/routers/web/user/profile.go @@ -157,10 +157,10 @@ func prepareUserProfileTabData(ctx *context.Context, showPrivate bool, profileGi 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") pagingNum = setting.UI.FeedPagingNum |