mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
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
This commit is contained in:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user