aboutsummaryrefslogtreecommitdiffstats
path: root/mod/menu.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/menu.php')
-rw-r--r--mod/menu.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/menu.php b/mod/menu.php
index a0a300000..ad47ad1fd 100644
--- a/mod/menu.php
+++ b/mod/menu.php
@@ -47,7 +47,7 @@ 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' : ''));