mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Merge pull request #5288 from rubencm/ticket/15413
[ticket/15413] Login redirect to previous page
This commit is contained in:
commit
9ab4e3b958
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
|
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