Escape all login and username characters in database

Display correctly usernames

(I hope not to have made mistakes)

git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
Eric 2009-11-18 20:07:20 +00:00
commit 1235bab527
19 changed files with 43 additions and 43 deletions

View file

@ -259,7 +259,7 @@ SELECT '.$conf['user_fields']['id'].' AS id
$username_of = array();
while ($row = mysql_fetch_assoc($result))
{
$username_of[$row['id']] = $row['username'];
$username_of[$row['id']] = stripslashes($row['username']);
}
}