Tentative de régler le bordel
This commit is contained in:
7
mcp.php
7
mcp.php
@@ -61,7 +61,7 @@ if ($forum_action !== '' && $request->variable('sort', false, false, \phpbb\requ
|
||||
|
||||
if (count($action_ary))
|
||||
{
|
||||
list($action, ) = each($action_ary);
|
||||
$action = key($action_ary);
|
||||
}
|
||||
unset($action_ary);
|
||||
|
||||
@@ -308,6 +308,11 @@ $vars = array(
|
||||
);
|
||||
extract($phpbb_dispatcher->trigger_event('core.modify_mcp_modules_display_option', compact($vars)));
|
||||
|
||||
$template->assign_block_vars('navlinks', array(
|
||||
'BREADCRUMB_NAME' => $user->lang('MCP'),
|
||||
'U_BREADCRUMB' => append_sid("{$phpbb_root_path}mcp.$phpEx"),
|
||||
));
|
||||
|
||||
// Load and execute the relevant module
|
||||
$module->load_active();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user