mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
Only create a session if on doesn't exist. In theory, checking for the presence of a sid should be enough to determine this.....
git-svn-id: file:///svn/phpbb/trunk@6057 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -269,7 +269,10 @@ class messenger
|
||||
global $user, $phpEx, $phpbb_root_path;
|
||||
|
||||
// Session doesn't exist, create it
|
||||
$user->session_begin();
|
||||
if (!isset($user->session_id) || $user->session_id === '')
|
||||
{
|
||||
$user->session_begin();
|
||||
}
|
||||
|
||||
add_log('critical', 'LOG_ERROR_' . $type, $msg);
|
||||
}
|
||||
|
Reference in New Issue
Block a user