diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-02-22 16:09:34 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-02-22 16:09:34 +0000 |
commit | 5fc4d66994717c52098422ab6b69aa02b5333976 (patch) | |
tree | 71dc12d72847e70c737eb718e7f1eede7cda1acc /phpBB/ucp.php | |
parent | e64b91ec325c14763f9c658afb3e5daa8a513d5b (diff) | |
download | forums-5fc4d66994717c52098422ab6b69aa02b5333976.tar forums-5fc4d66994717c52098422ab6b69aa02b5333976.tar.gz forums-5fc4d66994717c52098422ab6b69aa02b5333976.tar.bz2 forums-5fc4d66994717c52098422ab6b69aa02b5333976.tar.xz forums-5fc4d66994717c52098422ab6b69aa02b5333976.zip |
Add ANONYMOUS check for user_id
git-svn-id: file:///svn/phpbb/trunk@3509 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/ucp.php')
-rwxr-xr-x | phpBB/ucp.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 9a2ae275b7..bb126ae290 100755 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -86,7 +86,7 @@ if($_GET['mode'] || $_POST['mode']) } else if($mode == 'register') { - if($user->data['user_id']) + if($user->data['user_id'] != ANONYMOUS) { redirect("index.$phpEx$SID"); } |