Alluidh
Well-known member
I'm running PHP Version 5.3.3-7+squeeze18Weird. What PHP Version are you running? (I probably mixed up language syntax).
However, being Christmas, I won't be able to fix it until tomorrow. If you post that line and a few surrounding it, I can probably tell you the fix.
Code:
public function getPageById($pageId)
{
$page = $this->_getDb()->fetchRow('
SELECT page.*
FROM xf_xi_help_manager_pages AS page
WHERE page.page_id = ?
', $pageId);
$page['title'] = new XenForo_Phrase('xi_helpmanager_page_' . $page['page_id']);
$page['template'] = XenForo_Model::create('XenForo_Model_Template')->getTemplateInStyleByTitle('xi_helpmanager_page.' . $page['page_id'])['template'];
return $page;
}
Code:
$page['template'] = XenForo_Model::create('XenForo_Model_Template')->getTemplateInStyleByTitle('xi_helpmanager_page.' . $page['page_id'])['template'];
Thanks for supporting me