mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 02:59:52 +02:00
[ticket/13455] Remove unnecessary calls to utf8_normalize_nfc()
PHPBB3-13455
This commit is contained in:
@@ -70,7 +70,7 @@ class acp_logs
|
||||
$conditions['log_time'] = array('>=', time() - ($sort_days * 86400));
|
||||
}
|
||||
|
||||
$keywords = utf8_normalize_nfc($request->variable('keywords', '', true));
|
||||
$keywords = $request->variable('keywords', '', true);
|
||||
$conditions['keywords'] = $keywords;
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ class acp_logs
|
||||
$sql_where = ($sort_days) ? (time() - ($sort_days * 86400)) : 0;
|
||||
$sql_sort = $sort_by_sql[$sort_key] . ' ' . (($sort_dir == 'd') ? 'DESC' : 'ASC');
|
||||
|
||||
$keywords = utf8_normalize_nfc($request->variable('keywords', '', true));
|
||||
$keywords = $request->variable('keywords', '', true);
|
||||
$keywords_param = !empty($keywords) ? '&keywords=' . urlencode(htmlspecialchars_decode($keywords)) : '';
|
||||
|
||||
$l_title = $user->lang['ACP_' . strtoupper($mode) . '_LOGS'];
|
||||
|
Reference in New Issue
Block a user