mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-03 15:29:12 +01:00
[ticket/15413] Login redirect to previous page
PHPBB3-15413
This commit is contained in:
parent
30303647f0
commit
7c26569d93
@ -4286,7 +4286,8 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||
}
|
||||
else
|
||||
{
|
||||
$u_login_logout = append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login');
|
||||
$redirect = $request->variable('redirect', rawurlencode($user->page['page']));
|
||||
$u_login_logout = append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=login&redirect=' . $redirect);
|
||||
$l_login_logout = $user->lang['LOGIN'];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user