Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ticket/15413] Login redirect to previous page #5142

Closed
wants to merge 1 commit into from

Conversation

GerB
Copy link
Contributor

@GerB GerB commented Feb 20, 2018

PHPBB3-15413

Checklist:

  • Correct branch: master for new features; 3.2.x for fixes
  • Tests pass
  • Code follows coding guidelines: master and 3.2.x
  • Commit follows commit message format

Tracker ticket (set the ticket ID to your ticket ID):

https://tracker.phpbb.com/browse/PHPBB3-15413

@@ -4181,7 +4181,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', '') !== '') ? $request->variable('redirect', '') : rawurlencode($user->page['page']);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$redirect = $request->variable('redirect', rawurlencode($user->page['page']));

@CHItA CHItA closed this Mar 30, 2018
@CHItA CHItA reopened this Mar 30, 2018
@marc1706
Copy link
Member

Shouldn't this be targeting 3.2.x? Also, I think you need to rebase this to fix the merge conflicts.

@marc1706
Copy link
Member

Ah, nvm. Looks like this was resolved by another pull request. Therefore closing.

@marc1706 marc1706 closed this Oct 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants