1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Custom-Menu template-loading fix. (ie. merge with theme template)

This commit is contained in:
Cameron
2014-06-14 19:10:16 -07:00
parent aa12c8d355
commit d805a9b56a

View File

@@ -430,7 +430,7 @@ class e_menu
if(vartrue($page['menu_template'])) // New v2.x templates. see core/menu_template.php
{
$template = e107::getCoreTemplate('menu',$page['menu_template']);
$template = e107::getCoreTemplate('menu',$page['menu_template'],true,true); // override and merge required. ie. when menu template is not in the theme, but only in the core.
$page_shortcodes = e107::getScBatch('page',null,'cpage');
$page_shortcodes->setVars($page);