From 777ebafe6d6424618d5eb2006ae877a9f33a3d1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B8nstantine=20Kovalensky?= <45331093+kovalensky@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:01:04 +0400 Subject: [PATCH] Code re-formatting (#1063) --- admin/stats/tracker.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/stats/tracker.php b/admin/stats/tracker.php index 630b1cdb0..d7f5b9529 100644 --- a/admin/stats/tracker.php +++ b/admin/stats/tracker.php @@ -78,6 +78,7 @@ foreach ($rowset as $cnt => $row) { // Detailed statistics for peer clients $client_list = ''; +$clients_percentage = []; $numwant = !empty($_GET['client_numwant']) ? (int)$_GET['client_numwant'] : 100; $client_full = !empty($_GET['client_length']) ? (int)$_GET['client_length'] : false; @@ -153,7 +154,7 @@ echo "\n
\n"; echo (count($clients_percentage) > $numwant) ? ('' . 'Show more' . '
') : ''; -echo $client_full ? '
Get more length and numbers via modifying the parameters in the url' : 'Peer_ids with more length (version debugging)'; +echo $client_full ? '
Get more length and numbers via modifying the parameters in the url' : (!empty($client_list) ? 'Peer_ids with more length (version debugging)': ''); echo ''; echo ''; echo '
';