[responsive/portal] Include missing functions for forumlist module
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user