1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +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
commit 83446183ee

View File

@ -16,7 +16,7 @@ function menu_shortcode($parm, $mode='')
}
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
@ -43,4 +43,4 @@ function menu_shortcode($parm, $mode='')
}
?>
?>