diff options
-rw-r--r-- | mod/menu.php | 4 | ||||
-rw-r--r-- | mod/mitem.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mod/menu.php b/mod/menu.php index d45405005..92ddf5a5f 100644 --- a/mod/menu.php +++ b/mod/menu.php @@ -37,7 +37,7 @@ function menu_post(&$a) { $_REQUEST['menu_id'] = intval(argv(1)); $r = menu_edit($_REQUEST); if($r) { - info( t('Menu updated.') . EOL); + //info( t('Menu updated.') . EOL); goaway(z_root() . '/mitem/' . $menu_id . (($a->is_sys) ? '?f=&sys=1' : '')); } else @@ -46,7 +46,7 @@ function menu_post(&$a) { else { $r = menu_create($_REQUEST); if($r) { - info( t('Menu created.') . EOL); + //info( t('Menu created.') . EOL); goaway(z_root() . '/mitem/' . $r . (($a->is_sys) ? '?f=&sys=1' : '')); } else diff --git a/mod/mitem.php b/mod/mitem.php index ee2de1cf8..bc93165ac 100644 --- a/mod/mitem.php +++ b/mod/mitem.php @@ -162,7 +162,7 @@ function mitem_content(&$a) { '$display' => $display, '$lockstate' => $lockstate, '$menu_names' => $menu_names, - '$sys' => $a->is_sys + '$sys' => $a->is_sys )); $o .= replace_macros(get_markup_template('mitemlist.tpl'),array( |