Skip to content

Commit

Permalink
do not show unpublished meetings
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad2002 committed Dec 4, 2023
1 parent 23a6b29 commit 9a9e02b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/php/views/page/meetings.php
Original file line number Diff line number Diff line change
Expand Up @@ -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('<h2 class="meeting-year">' . $y . '</h2>');
Expand Down

0 comments on commit 9a9e02b

Please sign in to comment.