mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
2.0.11
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5028 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -128,7 +128,7 @@ function prepare_post(&$mode, &$post_data, &$bbcode_on, &$html_on, &$smilies_on,
|
||||
// Check username
|
||||
if (!empty($username))
|
||||
{
|
||||
$username = trim(strip_tags($username));
|
||||
$username = phpbb_clean_username($username);
|
||||
|
||||
if (!$userdata['session_logged_in'] || ($userdata['session_logged_in'] && $username != $userdata['username']))
|
||||
{
|
||||
|
Reference in New Issue
Block a user