mirror of
https://github.com/e107inc/e107.git
synced 2025-08-23 22:53:01 +02:00
Fixed: {CPAGEMENU} could return the incorrect Menu under some conditions.
This commit is contained in:
@@ -173,8 +173,8 @@ class cpage_shortcodes extends e_shortcode
|
||||
|
||||
function sc_cpagemenu()
|
||||
{
|
||||
$parm = $this->var['menu_name'];
|
||||
return e107::getMenu()->renderMenu($parm, false, false, true);
|
||||
$parm = $this->var['page_id'];
|
||||
return e107::getMenu()->renderMenu($parm, true, false, true);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user