diff --git a/webapp/controller/TempToolsController.class.php b/webapp/controller/TempToolsController.class.php index 832acbf0..9d189086 100644 --- a/webapp/controller/TempToolsController.class.php +++ b/webapp/controller/TempToolsController.class.php @@ -73,7 +73,6 @@ class TempToolsController extends BaseController { $accounts = array(); $conn = myself()->_getMysql(''); { - $count = 1000; $rows = $conn->execQuery( 'SELECT * FROM t_rank_activity ' . 'WHERE type=:type AND channel=:channel AND value>=:value ' . @@ -90,7 +89,8 @@ class TempToolsController extends BaseController { array_push($accounts, array( 'account_id' => $row['account_id'], 'name' => '', - 'ranked' => $ranked + 'ranked' => $ranked, + 'score' => $row['value'] )); ++$ranked; }