|
|
@@ -76,6 +76,7 @@ class WebDbConnection {
|
|
|
private function prepareMatches($matches, $leagueId, $countryId) {
|
|
|
for ($i = 0; $i < count($matches); $i++) {
|
|
|
|
|
|
+ $match = $matches[$i];
|
|
|
$league = $this->getLeagueInfo($leagueId);
|
|
|
|
|
|
$lookback = $league[0]['lookback'];
|
|
|
@@ -94,6 +95,7 @@ class WebDbConnection {
|
|
|
array_push($match, $homeWinPercent);
|
|
|
array_push($match, $drawPercent);
|
|
|
array_push($match, $awayWinPercent);
|
|
|
+
|
|
|
// $match['homeWinPercent'] = $homeWinPercent;
|
|
|
// $match['drawPercent'] = $drawPercent;
|
|
|
// $match['awayWinPercent'] = $awayWinPercent;
|