This commit is contained in:
aozhiwei 2022-05-14 10:35:40 +08:00
parent 128bc16dca
commit 8694262baf

View File

@ -119,11 +119,12 @@ class RankingController extends BaseAuthedController {
if ($user) { if ($user) {
if ($user['account_id'] == $myRanked['user']['account_id']) { if ($user['account_id'] == $myRanked['user']['account_id']) {
$myRanked['ranked'] = $ranked; $myRanked['ranked'] = $ranked;
$myRanked['value'] = $row['value'];
} }
array_push($rankingList, array( array_push($rankingList, array(
'ranked' => $ranked++, 'ranked' => $ranked++,
'user' => User::toSimple($user), 'user' => User::toSimple($user),
'value' => 0 'value' => $row['value']
)); ));
} }
} }