Axel Nordh 4 jaren geleden
bovenliggende
commit
0c61731f6b
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      OddsJavaFx/src/web/matchTable.php

+ 1 - 1
OddsJavaFx/src/web/matchTable.php

@@ -7,7 +7,7 @@ $countryId = $_POST['countrySelector'];
 $leagueId = $_POST['leagueSelector'];
 $leagueId = $_POST['leagueSelector'];
 
 
 $matches = $conn->getMatches($countryId, $leagueId);
 $matches = $conn->getMatches($countryId, $leagueId);
-$leagueInfo = $conn->getLeagueInfo($leagueId);
+$leagueInfo = $conn->getLeagueInfo($leagueId)[0];
 
 
 ?>
 ?>
 <head>
 <head>