mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
Merge branch 'develop-olympus' into develop
* develop-olympus: [ticket/8616] Include old U_INBOX var for BC [ticket/8616] Rename U_INBOX to U_VIEW_MESSAGE [ticket/8616] Direct links in pm notification emails
This commit is contained in:
@@ -256,6 +256,12 @@ if (!$user->data['is_registered'])
|
||||
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
|
||||
}
|
||||
|
||||
if ($id == 'pm' && $mode == 'view' && isset($_GET['p']))
|
||||
{
|
||||
$redirect_url = append_sid("{$phpbb_root_path}ucp.$phpEx?i=pm&p=" . request_var('p', 0));
|
||||
login_box($redirect_url, $user->lang['LOGIN_EXPLAIN_UCP']);
|
||||
}
|
||||
|
||||
login_box('', $user->lang['LOGIN_EXPLAIN_UCP']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user