mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
This should be a better fix for #12441
Should also fix #12393 git-svn-id: file:///svn/phpbb/trunk@7763 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -617,8 +617,10 @@ class session
|
||||
$this->set_login_key();
|
||||
}
|
||||
|
||||
// refresh data
|
||||
$SID = '?sid=' . $this->session_id;
|
||||
$_SID = $this->session_id;
|
||||
$this->data = array_merge($this->data, $sql_ary);
|
||||
|
||||
if (!$bot)
|
||||
{
|
||||
@@ -643,7 +645,7 @@ class session
|
||||
$SID = '?sid=';
|
||||
$_SID = '';
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1507,7 +1509,7 @@ class user extends session
|
||||
}
|
||||
|
||||
// Make sure the user is able to hide his session
|
||||
if (isset($this->data['session_viewonline']) && !$this->data['session_viewonline'])
|
||||
if (!$this->data['session_viewonline'])
|
||||
{
|
||||
// Reset online status if not allowed to hide the session...
|
||||
if (!$auth->acl_get('u_hideonline'))
|
||||
|
Reference in New Issue
Block a user