From 8477f41b5288bf28b3313e629d642f2e71eff890 Mon Sep 17 00:00:00 2001 From: Zankaria Date: Wed, 21 Aug 2024 19:53:01 +0200 Subject: [PATCH] pages.php: pass mod array to overboard --- inc/mod/pages.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/mod/pages.php b/inc/mod/pages.php index 73bb467b..eb3f166a 100644 --- a/inc/mod/pages.php +++ b/inc/mod/pages.php @@ -767,7 +767,7 @@ function mod_board_log($board, $page_no = 1, $hide_names = false, $public = fals } function mod_view_catalog($boardName) { - global $config; + global $config, $mod; require_once($config['dir']['themes'].'/catalog/theme.php'); $settings = array(); $settings['boards'] = $boardName; @@ -787,7 +787,7 @@ function mod_view_catalog($boardName) { $settings = array_merge($settings, themeSettings('catalog')); $included_boards = array_diff(listBoards(true), $overboard['exclude']); - echo $catalog->buildOverboard($overboard['uri'], $settings, $included_boards, true); + echo $catalog->buildOverboard($overboard['uri'], $settings, $included_boards, $mod); break; } } @@ -805,7 +805,7 @@ function mod_view_board($boardName, $page_no = 1) { require "templates/themes/overboards/theme.php"; $overboard = new overboards($overboards_config); - echo $overboard->build($settings, true); + echo $overboard->build($settings, $mod); return; } }