Projects/nettsiden-old
Projects
/
nettsiden-old
Archived
8
0
Fork 0

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
1 changed files with 1 additions and 0 deletions

View File

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