mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/request-class] Fix mcp.php mode parameter
Thanks to SA007. PHPBB3-9716
This commit is contained in:
parent
c62aa52234
commit
c2ffa78521
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Reference in a new issue