From c2ffa78521a656b1a183d75c8de2f88624011967 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Tue, 5 Oct 2010 23:29:57 +0200 Subject: [PATCH] [feature/request-class] Fix mcp.php mode parameter Thanks to SA007. PHPBB3-9716 --- phpBB/mcp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 360f60fc74..1d294bb581 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -32,7 +32,7 @@ $template->assign_var('S_IN_MCP', true); $id = request_var('i', ''); $mode = request_var('mode', array('')); -$mode = sizeof($mode) ? array_shift($mode) : ''; +$mode = sizeof($mode) ? array_shift($mode) : request_var('mode', ''); // Only Moderators can go beyond this point if (!$user->data['is_registered'])