mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/15413] Login redirect to previous page
PHPBB3-15413
This commit is contained in:
parent
cd84919f1a
commit
7ccecf6f77
1 changed files with 2 additions and 1 deletions
|
@ -4210,7 +4210,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…
Add table
Reference in a new issue