1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-16 14:21:35 +02:00

Fixed bug , 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:
Bart van Bragt
2002-01-22 18:42:05 +00:00
parent 417bedb382
commit e95e663f4a

@ -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) )
{