8 matches

This commit is contained in:
Thijs Stobbelaar 2023-11-03 14:21:38 +01:00
parent 7858067633
commit 37e212fdab

View file

@ -34,7 +34,7 @@ error_reporting(E_ALL);
} }
echo "<br>"; echo "<br>";
echo "Stats for $key (minimal 10 matches)"; echo "Stats for $key (minimal 8 matches)";
echo "<table border='1' class='sortable'>"; echo "<table border='1' class='sortable'>";
echo "<tr> echo "<tr>
<th>Playername</th> <th>Playername</th>
@ -54,7 +54,7 @@ error_reporting(E_ALL);
if (!isset($player_data['playername']) || is_null($player_data['playername'])) { if (!isset($player_data['playername']) || is_null($player_data['playername'])) {
continue; // Skip this iteration and move to the next continue; // Skip this iteration and move to the next
} }
if ($player_data['matches'] < 10){ if ($player_data['matches'] < 8){
continue; continue;
} }
$player_name = $player_data['playername']; $player_name = $player_data['playername'];