Axel Nordh %!s(int64=4) %!d(string=hai) anos
pai
achega
0c61731f6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'];
 
 $matches = $conn->getMatches($countryId, $leagueId);
-$leagueInfo = $conn->getLeagueInfo($leagueId);
+$leagueInfo = $conn->getLeagueInfo($leagueId)[0];
 
 ?>
 <head>