Fixed new player bug
This commit is contained in:
parent
622ecaf97c
commit
25cd90a1fb
5 changed files with 93 additions and 17 deletions
|
|
@ -114,7 +114,7 @@ class LeaguesController extends Controller
|
|||
//$leagues = array_reverse(League::getRanking($rank));
|
||||
$leagueNames = League::getNames();
|
||||
$userNames = User::getNames();
|
||||
|
||||
|
||||
$leagues = League::where('season_id','=',$season->id)->where('rank','<=', 4)->orderBy('id')->get();
|
||||
if (!sizeof($leagues)) return redirect("/");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue