~line 2358
Code: Select all
if (!League::hasSpirit($game['Division']['League'])) {
$this->Session->setFlash(__('That league does not have stat tracking enabled!', true), 'default', array('class' => 'info'));
$this->redirect('/');
}
Related, yet unrelated, by the way things are currently set up, it seems that only coordinators and team captains can submit stats. I'm a bit surprised that someone who is an admin cannot submit stats (among other things, ie, designate jersey numbers on teams). One would assume that a site admin would (should?) have access to everything (ala "root" on a unix system).