mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:01:48 +02:00
[feature/request-class] Fix mcp.php mode parameter
Thanks to SA007. PHPBB3-9716
This commit is contained in:
@@ -32,7 +32,7 @@ $template->assign_var('S_IN_MCP', true);
|
|||||||
$id = request_var('i', '');
|
$id = request_var('i', '');
|
||||||
|
|
||||||
$mode = request_var('mode', array(''));
|
$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
|
// Only Moderators can go beyond this point
|
||||||
if (!$user->data['is_registered'])
|
if (!$user->data['is_registered'])
|
||||||
|
Reference in New Issue
Block a user