Make sure we have utf8 normalized titles

This commit is contained in:
Marc Alexander
2011-01-12 15:03:15 +00:00
parent 22f8293466
commit 59ece1c6b0

View File

@@ -133,7 +133,7 @@ while ($row = $db->sql_fetchrow($result))
'TEMPLATE_FILE' => 'portal/modules/' . $template_module,
'IMAGE_SRC' => $phpbb_root_path . 'styles/' . $user->theme['theme_path'] . '/theme/images/portal/' . $row['module_image_src'],
'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);