mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-16 14:21:35 +02:00
Fixed bug #505904, can't change usernames with ' in admin_users.php
git-svn-id: file:///svn/phpbb/trunk@1920 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -223,7 +223,7 @@ if( $mode == "edit" || $mode == "save" && ( isset($HTTP_POST_VARS['username']) |
|
||||
{
|
||||
$error = FALSE;
|
||||
|
||||
if( $username != $this_userdata['username'] )
|
||||
if( stripslashes($username) != $this_userdata['username'] )
|
||||
{
|
||||
if( !validate_username($username) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user