diff --git a/includes/functions.php b/includes/functions.php index daf4622..06c3955 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -1063,7 +1063,7 @@ function current_league($season) FROM ' . FOOTB_MATCHES . ' AS m INNER JOIN ' . FOOTB_BETS . ' AS b ON (b.season = m.season AND b.league = m.league ' . $user_spec . ") WHERE m.season = $season - AND league < 51 + AND m.league < 51 AND m.status in (0,1,2) ORDER BY m.match_datetime ASC LIMIT 1";