From 8694262baf221e5ee97ea0ec41d3d117be479dbd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 14 May 2022 10:35:40 +0800 Subject: [PATCH] 1 --- webapp/controller/RankingController.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webapp/controller/RankingController.class.php b/webapp/controller/RankingController.class.php index db3d1660..dc7fdcde 100644 --- a/webapp/controller/RankingController.class.php +++ b/webapp/controller/RankingController.class.php @@ -119,11 +119,12 @@ class RankingController extends BaseAuthedController { if ($user) { if ($user['account_id'] == $myRanked['user']['account_id']) { $myRanked['ranked'] = $ranked; + $myRanked['value'] = $row['value']; } array_push($rankingList, array( 'ranked' => $ranked++, 'user' => User::toSimple($user), - 'value' => 0 + 'value' => $row['value'] )); } }