Fix bug in /aktiviteter/ when viewing a spesific date
This commit is contained in:
parent
f3b95fe641
commit
66504057b2
|
@ -26,6 +26,7 @@ $day = (isset($_GET['day']))
|
|||
<main>
|
||||
|
||||
<?php
|
||||
use \DateTimeImmutable;
|
||||
$events = ($day==-1)
|
||||
? $agenda->getNextOfEach(new \DateTimeImmutable)
|
||||
: $agenda->getEventsBetween(
|
||||
|
|
Loading…
Reference in New Issue