mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
try to normalize everything...
git-svn-id: file:///svn/phpbb/trunk@7920 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -38,11 +38,17 @@ class mcp_ban
|
||||
|
||||
// Grab the list of entries
|
||||
$ban = request_var('ban', '', ($mode === 'user') ? true : false);
|
||||
|
||||
if ($mode === 'user')
|
||||
{
|
||||
$ban = utf8_normalize_nfc($ban);
|
||||
}
|
||||
|
||||
$ban_len = request_var('banlength', 0);
|
||||
$ban_len_other = request_var('banlengthother', '');
|
||||
$ban_exclude = request_var('banexclude', 0);
|
||||
$ban_reason = request_var('banreason', '', true);
|
||||
$ban_give_reason = request_var('bangivereason', '', true);
|
||||
$ban_reason = utf8_normalize_nfc(request_var('banreason', '', true));
|
||||
$ban_give_reason = utf8_normalize_nfc(request_var('bangivereason', '', true));
|
||||
|
||||
|
||||
if ($ban)
|
||||
|
Reference in New Issue
Block a user