mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
Add ANONYMOUS check for user_id
git-svn-id: file:///svn/phpbb/trunk@3509 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -86,7 +86,7 @@ if($_GET['mode'] || $_POST['mode'])
|
|||||||
}
|
}
|
||||||
else if($mode == 'register')
|
else if($mode == 'register')
|
||||||
{
|
{
|
||||||
if($user->data['user_id'])
|
if($user->data['user_id'] != ANONYMOUS)
|
||||||
{
|
{
|
||||||
redirect("index.$phpEx$SID");
|
redirect("index.$phpEx$SID");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user