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 & when using {MENU: XXX} shortcode.
This commit is contained in:
commit
83446183ee
@ -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='')
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user