In HomePage.integrate.php, replace the entire integrate_action_frontpage function with:
public static function integrate_action_frontpage(&$default_action)
{
global $context, $board;
$default_action = array(
'file' => CONTROLLERDIR . '/HomePage.controller.php',
'controller' => 'HomePage_Controller',
'function' => 'action_homepage'
);
if (!empty($board) && !empty($context['linktree']))
{
foreach ($context['linktree'] as $key => $val)
{
if (strpos($val['url'], '#c') !== false)
{
$context['linktree'][$key]['url'] = str_replace('#c', '?action=forum#c', $context['linktree'][$key]['url']);
return;
}
}
}
}
A little fragile, but it should break only in some weird cases.