aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xphpBB/ucp.php2
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");
}