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