[responsive/portal] Include missing functions for forumlist module

This commit is contained in:
Marc Alexander
2013-12-01 22:55:25 +01:00
parent 48f6d9b8e1
commit 61af6d6569

View File

@@ -90,7 +90,11 @@ class forumlist extends module_base
*/
public function get_template_center($module_id)
{
display_forums('', $this->config['load_moderators'], false);
if (!function_exists('display_forums'))
{
include($this->phpbb_root_path . 'includes/functions_display.' . $this->php_ext);
}
\display_forums('', $this->config['load_moderators'], false);
$this->template->assign_vars(array(
'FORUM_IMG' => $this->user->img('forum_read', 'NO_NEW_POSTS'),