mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 01:36:57 +02:00
git-svn-id: file:///svn/phpbb/trunk@6806 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -569,6 +569,17 @@ if (version_compare($current_version, '3.0.b4', '<='))
|
||||
|
||||
set_config('newest_user_colour', $row['user_colour'], true);
|
||||
|
||||
switch ($config['allow_name_chars'])
|
||||
{
|
||||
case '[\w]+':
|
||||
set_config('allow_name_chars', '[a-z]+');
|
||||
break;
|
||||
|
||||
case '[\w_\+\. \-\[\]]+':
|
||||
set_config('allow_name_chars', '[-\]_+ [a-z]+');
|
||||
break;
|
||||
}
|
||||
|
||||
$no_updates = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user