forked from leftypol/leftypol
pages.php: add missing mod global
This commit is contained in:
parent
0af5185dd9
commit
d30e0a1a9b
1 changed files with 2 additions and 0 deletions
|
@ -765,6 +765,8 @@ function mod_board_log(Context $ctx, $board, $page_no = 1, $hide_names = false,
|
||||||
}
|
}
|
||||||
|
|
||||||
function mod_view_catalog(Context $ctx, $boardName) {
|
function mod_view_catalog(Context $ctx, $boardName) {
|
||||||
|
global $mod;
|
||||||
|
|
||||||
$config = $ctx->get('config');
|
$config = $ctx->get('config');
|
||||||
|
|
||||||
require_once($config['dir']['themes'].'/catalog/theme.php');
|
require_once($config['dir']['themes'].'/catalog/theme.php');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue