Fix bug in /aktiviteter/ when viewing a spesific date

This commit is contained in:
Peder Bergebakken Sundt 2018-02-20 16:18:43 +01:00
parent f3b95fe641
commit 66504057b2

View File

@ -26,6 +26,7 @@ $day = (isset($_GET['day']))
<main>
<?php
use \DateTimeImmutable;
$events = ($day==-1)
? $agenda->getNextOfEach(new \DateTimeImmutable)
: $agenda->getEventsBetween(