From f5899af9dec14319942720f38774081a23efe6ea Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Mon, 27 Nov 2023 22:03:49 +0100 Subject: [PATCH] s --- index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 7134b6b..bc8922d 100644 --- a/index.php +++ b/index.php @@ -103,8 +103,9 @@ $lastMatches = array_slice($allMatches, 0, 8); echo "AttributeValueRank(FPP SQUAD)Points"; foreach ($clanmembers['clanMembers'] as $value) { foreach ($playerRanks as $rank) { - print_r($rank); print_r($value); + print_r($rank['stat']); + if ($rank['name'] == $value) { print_r($rank); if (isset($rank['stat']['data']['attributes']['rankedGameModeStats']['squad-fpp'])) {