1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/13455] Remove unnecessary calls to utf8_normalize_nfc()

PHPBB3-13455
This commit is contained in:
Gaëtan Muller
2015-02-02 21:35:46 +01:00
parent f6e06da4c6
commit abcb2680ee
36 changed files with 97 additions and 97 deletions

View File

@@ -148,8 +148,8 @@ class acp_permission_roles
trigger_error($user->lang['FORM_INVALID']. adm_back_link($this->u_action), E_USER_WARNING);
}
$role_name = utf8_normalize_nfc($request->variable('role_name', '', true));
$role_description = utf8_normalize_nfc($request->variable('role_description', '', true));
$role_name = $request->variable('role_name', '', true);
$role_description = $request->variable('role_description', '', true);
$auth_settings = $request->variable('setting', array('' => 0));
if (!$role_name)
@@ -228,8 +228,8 @@ class acp_permission_roles
$options_from = $request->variable('options_from', 0);
$role_row = array(
'role_name' => utf8_normalize_nfc($request->variable('role_name', '', true)),
'role_description' => utf8_normalize_nfc($request->variable('role_description', '', true)),
'role_name' => $request->variable('role_name', '', true),
'role_description' => $request->variable('role_description', '', true),
'role_type' => $permission_type,
);