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:
@@ -89,8 +89,8 @@ class acp_words
|
||||
}
|
||||
|
||||
$word_id = $request->variable('id', 0);
|
||||
$word = utf8_normalize_nfc($request->variable('word', '', true));
|
||||
$replacement = utf8_normalize_nfc($request->variable('replacement', '', true));
|
||||
$word = $request->variable('word', '', true);
|
||||
$replacement = $request->variable('replacement', '', true);
|
||||
|
||||
if ($word === '' || $replacement === '')
|
||||
{
|
||||
|
Reference in New Issue
Block a user