phpBB

Code Changes

File: ucp.php

  Unmodified   Added   Modified   Removed
Line 252Line 252
	if ($user->data['is_bot'])
{
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));

	if ($user->data['is_bot'])
{
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']);

	}

login_box('', $user->lang['LOGIN_EXPLAIN_UCP']);