From f542f4bf1cfefcfe160f4cfd3c430ea0a6481792 Mon Sep 17 00:00:00 2001 From: discomrade Date: Sat, 5 Jun 2021 09:14:58 -0200 Subject: [PATCH] Explicitly reference variable --- templates/themes/catalog/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/themes/catalog/theme.php b/templates/themes/catalog/theme.php index 49cb40a1..35281649 100644 --- a/templates/themes/catalog/theme.php +++ b/templates/themes/catalog/theme.php @@ -60,7 +60,7 @@ $b->build($settings, $board); if(isset($settings['has_overboard']) && $settings['has_overboard']) { foreach ($overboards_config as &$overboard) { - if ($overboard['uri'] == board) { + if ($overboard['uri'] == $board) { $exclusions = explode(' ', $overboard['exclude']); $included_boards = array_diff(listBoards(true), $exclusions); $b->buildOverboardCatalog($board, $settings, $included_boards);