mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 03:48:53 +00: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:
parent
417bedb382
commit
e95e663f4a
1 changed files with 1 additions and 1 deletions
|
@ -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) )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue