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

Merge pull request #1384 from Serios/patch-3

Fixes http_build_query causing return of &amp when using {MENU: XXX} shortcode.
This commit is contained in:
Cameron
2016-02-25 19:01:21 -08:00

View File

@@ -16,7 +16,7 @@ function menu_shortcode($parm, $mode='')
} }
unset($parm['path']); unset($parm['path']);
return e107::getMenu()->renderMenu($plugin,$menu."_menu", http_build_query($parm,'&')); return e107::getMenu()->renderMenu($plugin,$menu."_menu", http_build_query($parm, '', '&'));
} }
else else
@@ -43,4 +43,4 @@ function menu_shortcode($parm, $mode='')
} }
?> ?>