fix broken function current_league($season) sql select
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user