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'] )); } }