1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-04 11:41:38 +02:00

added missing variable to session_end, fixed schema directories within upgrade file.

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3515 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2003-02-23 11:59:51 +00:00
parent 5c40eb6b78
commit b0322067b9
3 changed files with 7 additions and 5 deletions

View File

@@ -329,6 +329,8 @@ function session_end($session_id, $user_id)
$cookiedomain = $board_config['cookie_domain'];
$cookiesecure = $board_config['cookie_secure'];
$current_time = time();
//
// Pull cookiedata or grab the URI propagated sid
//

View File

@@ -209,7 +209,7 @@ if (
// and ensure that they were trying to register a second time
// (Prevents double registrations)
//
if ( $userdata['session_logged_in'] && $mode =="register" && $username == $userdata['username'])
if ( $userdata['session_logged_in'] && $mode == 'register' && $username == $userdata['username'])
{
message_die(GENERAL_MESSAGE, $lang['Username_taken'], '', __LINE__, __FILE__);
}