diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2001-06-21 03:20:37 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-06-21 03:20:37 +0000 |
commit | 6e9bc6b0fccd529904d7e4ccc1e04c4c0c5967e2 (patch) | |
tree | fd557329f27ccde5ab042424054467c6076327ec /phpBB/includes/sessions.php | |
parent | 8276d5728c8ab62d788d152a1e2eddc300b70cfa (diff) | |
download | forums-6e9bc6b0fccd529904d7e4ccc1e04c4c0c5967e2.tar forums-6e9bc6b0fccd529904d7e4ccc1e04c4c0c5967e2.tar.gz forums-6e9bc6b0fccd529904d7e4ccc1e04c4c0c5967e2.tar.bz2 forums-6e9bc6b0fccd529904d7e4ccc1e04c4c0c5967e2.tar.xz forums-6e9bc6b0fccd529904d7e4ccc1e04c4c0c5967e2.zip |
Working on getting Oracle functional. Almost there, need to deal with the 'AUTO INCREMENT' issue
git-svn-id: file:///svn/phpbb/trunk@520 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/sessions.php')
-rw-r--r-- | phpBB/includes/sessions.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/phpBB/includes/sessions.php b/phpBB/includes/sessions.php index 1957479473..92e0e50f20 100644 --- a/phpBB/includes/sessions.php +++ b/phpBB/includes/sessions.php @@ -59,6 +59,7 @@ function session_begin($user_id, $user_ip, $page_id, $session_length, $login = 0 { error_die(SQL_QUERY, "Couldn't obtain ban information.", __LINE__, __FILE__); } + $ban_info = $db->sql_fetchrow($result); // @@ -244,9 +245,9 @@ function session_pagestart($user_ip, $thispage_id, $session_length) error_die(SESSION_CREATE); } } - + $userdata = $db->sql_fetchrow($result); - + // // Did the session exist in the DB? // @@ -327,6 +328,7 @@ function session_pagestart($user_ip, $thispage_id, $session_length) error_die(SESSION_CREATE); } } + $userdata = $db->sql_fetchrow($result); if($userdata['user_autologin_key']) |