mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
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:
+1
-1
@@ -160,7 +160,7 @@ while ($row = mysql_fetch_assoc($result))
|
||||
}
|
||||
else
|
||||
{
|
||||
$author_name = $row['username'];
|
||||
$author_name = stripslashes($row['username']);
|
||||
}
|
||||
$template->append(
|
||||
'comments',
|
||||
|
||||
Reference in New Issue
Block a user