diff --git a/admin/stats/tracker.php b/admin/stats/tracker.php index f278cd4c9..cb46bbfb3 100644 --- a/admin/stats/tracker.php +++ b/admin/stats/tracker.php @@ -115,8 +115,10 @@ if ($client_full || !$stats_cache = CACHE('tr_cache')->get('tracker_clients_stat $clients_percentage = $stats_cache; } +$n = 1; foreach (array_slice($clients_percentage, 0, $numwant) as $client => $value) { - $client_list .= ($client_full) ? ("$client => $value
") : get_user_torrent_client($client) . " => $value
"; + $client_list .= ($client_full) ? ("$client => $value
") : "$n. " . get_user_torrent_client($client) . " => $value
"; + $n++; } function commify_callback($matches)