Update leagues.php

Fixes an error where when you have a game selected and you try to view its leagues, they wouldn't show.