diff options
Diffstat (limited to 'actions/register.php')
-rw-r--r-- | actions/register.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/actions/register.php b/actions/register.php index 556bad4cd..b5733635f 100644 --- a/actions/register.php +++ b/actions/register.php @@ -78,8 +78,4 @@ if ($CONFIG->allow_registration) { register_error(elgg_echo('registerdisabled')); } -$qs = explode('?',$_SERVER['HTTP_REFERER']); -$qs = $qs[0]; -$qs .= "?u=" . urlencode($username) . "&e=" . urlencode($email) . "&n=" . urlencode($name) . "&friend_guid=" . $friend_guid; - -forward($qs); +forward(REFERER); |