mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
- adjust unread query a bit to cope with large topics (thanks bart!)
- fixing some bugs - more username_clean work git-svn-id: file:///svn/phpbb/trunk@6513 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -59,8 +59,8 @@ function mcp_post_details($id, $mode, $action)
|
||||
|
||||
if ($action == 'chgposter')
|
||||
{
|
||||
$username = request_var('username', '');
|
||||
$sql_where = "username = '" . $db->sql_escape($username) . "'";
|
||||
$username = request_var('username', '', true);
|
||||
$sql_where = "username_clean = '" . $db->sql_escape(utf8_clean_string($username)) . "'";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user