Bugfix Round::getFirstTippableRound
This commit is contained in:
parent
c337916a3b
commit
922db48c36
3 changed files with 12518 additions and 5 deletions
|
|
@ -137,7 +137,11 @@ class TippsController extends Controller
|
|||
}
|
||||
|
||||
}
|
||||
$tippLink="/tipps#".\App\Round::getFirstTippableRound()->id;
|
||||
|
||||
$tippLink="/tipps#";
|
||||
$r=\App\Round::getFirstTippableRound();
|
||||
if($r) $tippLink=$tippLink.$r->id;
|
||||
|
||||
// Redirect to the Rounds Index
|
||||
return redirect($tippLink);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue