Fixed incorrect display of custom titles on portal

This commit is contained in:
Marc Alexander
2011-01-12 14:38:40 +00:00
parent e90474dc3d
commit af2dcd728d
65 changed files with 73 additions and 72 deletions

View File

@@ -133,6 +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'],
));
}
unset($template_module);