Make sure we have utf8 normalized titles
This commit is contained in:
@@ -133,7 +133,7 @@ while ($row = $db->sql_fetchrow($result))
|
|||||||
'TEMPLATE_FILE' => 'portal/modules/' . $template_module,
|
'TEMPLATE_FILE' => 'portal/modules/' . $template_module,
|
||||||
'IMAGE_SRC' => $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/' . $row['module_image_src'],
|
'IMAGE_SRC' => $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/' . $row['module_image_src'],
|
||||||
'MODULE_ID' => $row['module_id'],
|
'MODULE_ID' => $row['module_id'],
|
||||||
'TITLE' => (isset($user->lang[$row['module_name']])) ? $user->lang[$row['module_name']] : $row['module_name'],
|
'TITLE' => (isset($user->lang[$row['module_name']])) ? $user->lang[$row['module_name']] : utf8_normalize_nfc($row['module_name']),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
unset($template_module);
|
unset($template_module);
|
||||||
|
|||||||
Reference in New Issue
Block a user