1
0
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:
Cameron
2014-06-16 18:21:51 -07:00
parent 5cbb38ad7f
commit b19d383e0d
3 changed files with 27 additions and 13 deletions

View File

@@ -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);
}