From 9a9e02b1cfda34a65c888d85c14043fc1eb814af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20Wei=C3=9F?= Date: Mon, 4 Dec 2023 13:11:27 +0100 Subject: [PATCH] do not show unpublished meetings --- src/php/views/page/meetings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/php/views/page/meetings.php b/src/php/views/page/meetings.php index abebdc4..e0411ff 100644 --- a/src/php/views/page/meetings.php +++ b/src/php/views/page/meetings.php @@ -10,6 +10,7 @@ $year = 0; foreach ($meetings as $meeting) { + if (isset($meeting["unpublished"]) && $meeting["unpublished"]) continue; $start_time = strtotime($meeting["date_start"]); $y = date("Y", $start_time); if ($y != $year) echo('

' . $y . '

');