From 2a4781a19c98537bd29b54cae9c196eefaf0f594 Mon Sep 17 00:00:00 2001 From: Andreas Hubel Date: Thu, 30 Dec 2021 19:37:57 +0100 Subject: [PATCH] add comments --- template/overview.phtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/overview.phtml b/template/overview.phtml index 26f248b3..aad866ac 100644 --- a/template/overview.phtml +++ b/template/overview.phtml @@ -56,6 +56,7 @@ getSlug() ]; @@ -70,6 +71,7 @@ $u_b = $upcomingTalksPerRoom[ $r_b->getSlug() ]; $b = @$u_b['current']['special'] ? $u_b['next'] : $u_b['current']; + // sort rooms without remaining schedule to end if ( $u_a['next'] === null || $u_b['next'] === null) { return -($u_a['next'] <=> $u_b['next']); }