mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
e64b91ec32
commit
5fc4d66994
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue