From 715a51c548f36ab2dca1fd61723f2f0b45e67a18 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 14 Oct 2001 18:22:32 +0000 Subject: Various changes to location redirection ... please note the format and name changes git-svn-id: file:///svn/phpbb/trunk@1190 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/profile.php') 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']; -- cgit v1.2.1