aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/profile.php')
-rw-r--r--phpBB/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/profile.php b/phpBB/profile.php
index aad8bdca96..31bb05dc8b 100644
--- a/phpBB/profile.php
+++ b/phpBB/profile.php
@@ -416,7 +416,7 @@ if( isset($HTTP_GET_VARS['mode']) || isset($HTTP_POST_VARS['mode']) )
if( !$userdata['session_logged_in'] && $mode == "editprofile" )
{
- header(append_sid("Location: login.$phpEx?forward_page=profile.$phpEx&mode=editprofile"));
+ header("Location: " . append_sid("login.$phpEx?redirect=profile.$phpEx&mode=editprofile", true));
}
$page_title = ($mode == "editprofile") ? $lang['Edit_profile'] : $lang['Register'];