mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 16:27:38 +02:00
fixed a bug i invented. changed username validation to catch multiple spaces. Changed get_userdata to not get confused with usernames beginning with numbers (more stable).
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3768 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -263,7 +263,7 @@ else if ( isset($HTTP_POST_VARS['group_update']) )
|
||||
message_die(GENERAL_MESSAGE, $lang['No_group_moderator']);
|
||||
}
|
||||
|
||||
$this_userdata = get_userdata($group_moderator);
|
||||
$this_userdata = get_userdata($group_moderator, true);
|
||||
$group_moderator = $this_userdata['user_id'];
|
||||
|
||||
if ( !$group_moderator )
|
||||
|
Reference in New Issue
Block a user