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:
Graham Eames 2006-06-13 18:50:21 +00:00
parent 81d7bbff36
commit b0b7963817

View file

@ -269,7 +269,10 @@ class messenger
global $user, $phpEx, $phpbb_root_path;
// Session doesn't exist, create it
if (!isset($user->session_id) || $user->session_id === '')
{
$user->session_begin();
}
add_log('critical', 'LOG_ERROR_' . $type, $msg);
}