aboutsummaryrefslogtreecommitdiffstats
path: root/mod/mitem.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mitem.php')
-rw-r--r--mod/mitem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mitem.php b/mod/mitem.php
index b62feb97c..60d7885dc 100644
--- a/mod/mitem.php
+++ b/mod/mitem.php
@@ -75,7 +75,7 @@ function mitem_post(&$a) {
else {
$r = menu_add_item($_REQUEST['menu_id'],$uid,$_REQUEST);
if($r) {
- menu_sync_packet($uid,get_observer_hash(),$menu_id);
+ menu_sync_packet($uid,get_observer_hash(),$_REQUEST['menu_id']);
//info( t('Menu element added.') . EOL);
if($_REQUEST['submit']) {
goaway(z_root() . '/menu' . (($a->is_sys) ? '?f=&sys=1' : ''));