mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 11:44:08 +02:00
[ticket/13455] Remove unnecessary calls to utf8_normalize_nfc()
PHPBB3-13455
This commit is contained in:
@@ -124,7 +124,7 @@ class mcp_logs
|
||||
}
|
||||
else if ($deleteall)
|
||||
{
|
||||
$keywords = utf8_normalize_nfc($request->variable('keywords', '', true));
|
||||
$keywords = $request->variable('keywords', '', true);
|
||||
|
||||
$conditions = array(
|
||||
'forum_id' => array('IN' => $forum_list),
|
||||
@@ -175,7 +175,7 @@ class mcp_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)) : '';
|
||||
|
||||
// Grab log data
|
||||
|
Reference in New Issue
Block a user