aboutsummaryrefslogtreecommitdiffstats
path: root/mod/menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/menu.php')
-rw-r--r--mod/menu.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/menu.php b/mod/menu.php
index a0a300000..bfc45adef 100644
--- a/mod/menu.php
+++ b/mod/menu.php
@@ -47,8 +47,8 @@ function menu_post(&$a) {
else {
$r = menu_create($_REQUEST);
if($r) {
- menu_sync_packet($uid,get_observer_hash(),$menu_id);
-
+ menu_sync_packet($uid,get_observer_hash(),$r);
+
//info( t('Menu created.') . EOL);
goaway(z_root() . '/mitem/' . $r . (($a->is_sys) ? '?f=&sys=1' : ''));
}
@@ -59,6 +59,8 @@ function menu_post(&$a) {
}
+
+
function menu_content(&$a) {
$uid = local_channel();