mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/13455] Update calls to request_var()
PHPBB3-13455
This commit is contained in:
@@ -26,7 +26,7 @@ function mcp_front_view($id, $mode, $action)
|
||||
{
|
||||
global $phpEx, $phpbb_root_path, $config;
|
||||
global $template, $db, $user, $auth, $module;
|
||||
global $phpbb_dispatcher;
|
||||
global $phpbb_dispatcher, $request;
|
||||
|
||||
// Latest 5 unapproved
|
||||
if ($module->loaded('queue'))
|
||||
@@ -35,7 +35,7 @@ function mcp_front_view($id, $mode, $action)
|
||||
$post_list = array();
|
||||
$forum_names = array();
|
||||
|
||||
$forum_id = request_var('f', 0);
|
||||
$forum_id = $request->variable('f', 0);
|
||||
|
||||
$template->assign_var('S_SHOW_UNAPPROVED', (!empty($forum_list)) ? true : false);
|
||||
|
||||
|
Reference in New Issue
Block a user