mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-21 16:01:40 +02:00
[ticket/13455] Remove unnecessary calls to utf8_normalize_nfc()
PHPBB3-13455
This commit is contained in:
@@ -508,7 +508,7 @@ class acp_attachments
|
||||
$ext_row = array();
|
||||
}
|
||||
|
||||
$group_name = utf8_normalize_nfc($request->variable('group_name', '', true));
|
||||
$group_name = $request->variable('group_name', '', true);
|
||||
$new_group_name = ($action == 'add') ? $group_name : (($ext_row['group_name'] != $group_name) ? $group_name : '');
|
||||
|
||||
if (!$group_name)
|
||||
@@ -690,7 +690,7 @@ class acp_attachments
|
||||
if ($action == 'add')
|
||||
{
|
||||
$ext_group_row = array(
|
||||
'group_name' => utf8_normalize_nfc($request->variable('group_name', '', true)),
|
||||
'group_name' => $request->variable('group_name', '', true),
|
||||
'cat_id' => 0,
|
||||
'allow_group' => 1,
|
||||
'allow_in_pm' => 1,
|
||||
|
Reference in New Issue
Block a user