aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2010-09-22 21:58:20 +0200
committerIgor Wiedler <igor@wiedler.ch>2010-09-25 20:32:15 +0200
commitfccd7f0ab5ab559dc89be6af9e582a986af8bb13 (patch)
tree65b2c96dc13203a75f104d3ee2b79b0756bc4631 /phpBB/ucp.php
parent[feature/request-class] Add $request to style.php, minor change (diff)
downloadphpbb-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar.gz
phpbb-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.tar.bz2
phpbb-fccd7f0ab5ab559dc89be6af9e582a986af8bb13.zip
[feature/request-class] Convert any direct access to $_* to use $request
PHPBB3-9716
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r--phpBB/ucp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 2d190cb1a9..bd8c47a7df 100644
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -82,7 +82,7 @@ switch ($mode)
break;
case 'logout':
- if ($user->data['user_id'] != ANONYMOUS && isset($_GET['sid']) && !is_array($_GET['sid']) && $_GET['sid'] === $user->session_id)
+ if ($user->data['user_id'] != ANONYMOUS && $request->is_set('sid') && $request->variable('sid', '') === $user->session_id)
{
$user->session_kill();
$user->session_begin();