mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 18:41:52 +02:00
Fix for bug # 535531... How'd that echo get in there?
git-svn-id: file:///svn/phpbb/trunk@2442 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -642,7 +642,7 @@ if( $mode == 'edit' || $mode == 'save' && ( isset($HTTP_POST_VARS['username']) |
|
||||
{
|
||||
if( isset( $HTTP_GET_VARS[POST_USERS_URL]) || isset( $HTTP_POST_VARS[POST_USERS_URL]) )
|
||||
{
|
||||
echo $user_id = ( isset( $HTTP_POST_VARS[POST_USERS_URL]) ) ? intval( $HTTP_POST_VARS[POST_USERS_URL]) : intval( $HTTP_GET_VARS[POST_USERS_URL]);
|
||||
$user_id = ( isset( $HTTP_POST_VARS[POST_USERS_URL]) ) ? intval( $HTTP_POST_VARS[POST_USERS_URL]) : intval( $HTTP_GET_VARS[POST_USERS_URL]);
|
||||
$this_userdata = get_userdata($user_id);
|
||||
if( !$this_userdata )
|
||||
{
|
||||
@@ -1070,4 +1070,4 @@ else
|
||||
|
||||
include('page_footer_admin.'.$phpEx);
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user