diff options
| author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-25 02:12:01 +0000 |
|---|---|---|
| committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-25 02:12:01 +0000 |
| commit | 648124681ea16e489f743fde7939455997fa16a7 (patch) | |
| tree | 04c81a01df6c02ebf777017c028c2379da79849a | |
| parent | af082045ec91765c8030171ae1274c1ac0cb0705 (diff) | |
| download | forums-648124681ea16e489f743fde7939455997fa16a7.tar forums-648124681ea16e489f743fde7939455997fa16a7.tar.gz forums-648124681ea16e489f743fde7939455997fa16a7.tar.bz2 forums-648124681ea16e489f743fde7939455997fa16a7.tar.xz forums-648124681ea16e489f743fde7939455997fa16a7.zip | |
Set a user_id of ANONYMOUS on logout
git-svn-id: file:///svn/phpbb/trunk@1944 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/includes/sessions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/sessions.php b/phpBB/includes/sessions.php index eced1c5956..702761dfeb 100644 --- a/phpBB/includes/sessions.php +++ b/phpBB/includes/sessions.php @@ -394,7 +394,7 @@ function session_end($session_id, $user_id) } } - unset($sessiondata['userid']); + $sessiondata['userid'] = ANONYMOUS $serialised_cookiedata = serialize($sessiondata); setcookie($cookiename . '_data', $serialised_cookiedata, ($current_time + 31536000), $cookiepath, $cookiedomain, $cookiesecure); |
