mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 13:48:55 +00:00
[ticket/15413] Login redirect to previous page
PHPBB3-15413
This commit is contained in:
parent
30303647f0
commit
7c26569d93
1 changed files with 2 additions and 1 deletions
|
@ -4286,7 +4286,8 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
|
||||||
}
|
}
|
||||||
else
|
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'];
|
$l_login_logout = $user->lang['LOGIN'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue