diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 729c1c8120..09cb5b365f 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -184,7 +184,7 @@ function make_jumpbox($action, $forum_id = false) { global $auth, $template, $user, $db, $nav_links, $phpEx; - $boxstring = ''; $template->assign_vars(array( diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index 00a1a168b3..6e5a14fcc2 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -65,7 +65,7 @@ $prev_user_ip = ''; $reading_sql = ''; if (!empty($_REQUEST['f'])) { - $reading_sql = 'AND s.session_page LIKE \'%f=' . intval($_GET['f'])) . '%\''; + $reading_sql = 'AND s.session_page LIKE \'%f=' . intval($_REQUEST['f']) . '%\''; } $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_colour, s.session_ip @@ -125,7 +125,7 @@ if (empty($online_userlist)) $online_userlist = $user->lang['None']; } -if (empty($_GET['f'])) +if (empty($_REQUEST['f'])) { $online_userlist = $user->lang['Registered_users'] . ' ' . $online_userlist; }