aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/menu.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/menu.php b/include/menu.php
index b879af845..e9049bf8e 100644
--- a/include/menu.php
+++ b/include/menu.php
@@ -24,7 +24,7 @@ function menu_fetch($name,$uid,$observer_xchan) {
return null;
}
-function menu_render($menu) {
+function menu_render($menu, $edit = false) {
if(! $menu)
return '';
@@ -38,6 +38,7 @@ function menu_render($menu) {
return replace_macros(get_markup_template('usermenu.tpl'),array(
'$menu' => $menu['menu'],
+ '$edit' => $edit,
'$items' => $menu['items']
));
}